Package ubic.gemma.cli.authentication
Class GemmaRestApiClientAuthenticator
- java.lang.Object
-
- ubic.gemma.cli.authentication.GemmaRestApiClientAuthenticator
-
- All Implemented Interfaces:
CLIAuthenticationAware
@Component public class GemmaRestApiClientAuthenticator extends Object implements CLIAuthenticationAware
-
-
Constructor Summary
Constructors Constructor Description GemmaRestApiClientAuthenticator(GemmaRestApiClient gemmaRestApiClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clearAuthentication()
void
setAuthentication(org.springframework.security.core.Authentication authentication)
-
-
-
Constructor Detail
-
GemmaRestApiClientAuthenticator
@Autowired public GemmaRestApiClientAuthenticator(GemmaRestApiClient gemmaRestApiClient)
-
-
Method Detail
-
setAuthentication
public void setAuthentication(org.springframework.security.core.Authentication authentication)
- Specified by:
setAuthentication
in interfaceCLIAuthenticationAware
-
clearAuthentication
public void clearAuthentication()
- Specified by:
clearAuthentication
in interfaceCLIAuthenticationAware
-
-