Package ubic.gemma.cli.authentication
Class CLIAuthenticationManager
java.lang.Object
ubic.gemma.cli.authentication.CLIAuthenticationManager
Manages authentication from the CLI.
- Author:
- poirigui
-
Constructor Summary
ConstructorsConstructorDescriptionCLIAuthenticationManager
(gemma.gsec.authentication.ManualAuthenticationService manualAuthenticationService, List<CLIAuthenticationAware> cliAuthenticationAwareList) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.security.core.Authentication
authenticate
(String username, String password) org.springframework.security.core.Authentication
-
Constructor Details
-
CLIAuthenticationManager
public CLIAuthenticationManager(gemma.gsec.authentication.ManualAuthenticationService manualAuthenticationService, List<CLIAuthenticationAware> cliAuthenticationAwareList)
-
-
Method Details
-
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()
-