Package ubic.gemma.cli.authentication
Class CLIAuthenticationManager
- java.lang.Object
-
- ubic.gemma.cli.authentication.CLIAuthenticationManager
-
public class CLIAuthenticationManager extends Object
Manages authentication from the CLI.- Author:
- poirigui
-
-
Constructor Summary
Constructors Constructor Description CLIAuthenticationManager(gemma.gsec.authentication.ManualAuthenticationService manualAuthenticationService, List<CLIAuthenticationAware> cliAuthenticationAwareList)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.security.core.Authentication
authenticate(String username, String password)
org.springframework.security.core.Authentication
authenticateAnonymously()
-
-
-
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()
-
-