Package org.apereo.cas.authentication
Class DefaultSecurityTokenServiceTokenFetcher
java.lang.Object
org.apereo.cas.authentication.DefaultSecurityTokenServiceTokenFetcher
- All Implemented Interfaces:
SecurityTokenServiceTokenFetcher
public class DefaultSecurityTokenServiceTokenFetcher
extends Object
implements SecurityTokenServiceTokenFetcher
- Since:
- 6.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultSecurityTokenServiceTokenFetcher(org.apereo.cas.services.ServicesManager servicesManager, org.apereo.cas.authentication.AuthenticationServiceSelectionStrategy selectionStrategy, org.apereo.cas.util.crypto.CipherExecutor<String, String> credentialCipherExecutor, SecurityTokenServiceClientBuilder clientBuilder) -
Method Summary
-
Constructor Details
-
DefaultSecurityTokenServiceTokenFetcher
public DefaultSecurityTokenServiceTokenFetcher(org.apereo.cas.services.ServicesManager servicesManager, org.apereo.cas.authentication.AuthenticationServiceSelectionStrategy selectionStrategy, org.apereo.cas.util.crypto.CipherExecutor<String, String> credentialCipherExecutor, SecurityTokenServiceClientBuilder clientBuilder)
-
-
Method Details
-
fetch
public Optional<org.apache.cxf.ws.security.tokenstore.SecurityToken> fetch(org.apereo.cas.authentication.principal.Service service, String principalId) throws Throwable Description copied from interface:SecurityTokenServiceTokenFetcherFetch security token.- Specified by:
fetchin interfaceSecurityTokenServiceTokenFetcher- Parameters:
service- the serviceprincipalId- the principal id- Returns:
- the optional
- Throws:
Throwable- the throwable
-
toString
-