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.

@FunctionalInterface public interface SecurityTokenServiceTokenFetcher
Since:
6.3.0
  • Method Summary

    Modifier and Type
    Method
    Description
    Optional<org.apache.cxf.ws.security.tokenstore.SecurityToken>
    fetch(org.apereo.cas.authentication.principal.Service service, String principalId)
    Fetch security token.
  • 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 service
      principalId - the principal id
      Returns:
      the optional
      Throws:
      Throwable - the throwable