Class CLIAuthenticationManager


  • public class CLIAuthenticationManager
    extends Object
    Manages authentication from the CLI.
    Author:
    poirigui
    • Constructor Detail

      • CLIAuthenticationManager

        public CLIAuthenticationManager​(gemma.gsec.authentication.ManualAuthenticationService manualAuthenticationService,
                                        List<CLIAuthenticationAware> cliAuthenticationAwareList)
    • Method Detail

      • authenticate

        public org.springframework.security.core.Authentication authenticate​(String username,
                                                                             String password)
                                                                      throws org.springframework.security.core.AuthenticationException
        Throws:
        org.springframework.security.core.AuthenticationException
      • authenticateAnonymously

        public org.springframework.security.core.Authentication authenticateAnonymously()