Package org.apereo.cas.authentication
Interface SecurityTokenServiceTokenFetcher
- All Known Implementing Classes:
DefaultSecurityTokenServiceTokenFetcher
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
This is
SecurityTokenServiceTokenFetcher.- Since:
- 6.3.0
-
Method Summary
-
Method Details
-
fetch
Optional<org.apache.cxf.ws.security.tokenstore.SecurityToken> fetch(org.apereo.cas.authentication.principal.Service service, String principalId) throws Throwable Fetch security token.- Parameters:
service- the serviceprincipalId- the principal id- Returns:
- the optional
- Throws:
Throwable- the throwable
-