Uses of Class
org.forgerock.openig.tools.authentication.SsoToken
Packages that use SsoToken
Package
Description
Common tools used in policy service.
Access Management Server.
AM authentication service.
Web socket notifications service implementation.
AM Links implementations.
-
Uses of SsoToken in org.forgerock.openig.tools
Method parameters in org.forgerock.openig.tools with type arguments of type SsoTokenModifier and TypeMethodDescriptionInvalidCallerTokenDetectionFilter.sessionInfoDetectionFilter
(String headerName, AsyncRefreshableSupplier<SsoToken, AuthenticationException> tokenSupplier) Returns a new detection filter suitable for use with getSessionInfo requests.Constructor parameters in org.forgerock.openig.tools with type arguments of type SsoTokenModifierConstructorDescriptionHeadlessAuthenticationFilter
(String headerName, AsyncRefreshableSupplier<SsoToken, AuthenticationException> tokenSupplier) Creates aHeadlessAuthenticationFilter
which will provide an AM SSO Token in the given header name for downstream components. -
Uses of SsoToken in org.forgerock.openig.tools.am
Methods in org.forgerock.openig.tools.am that return types with arguments of type SsoTokenModifier and TypeMethodDescriptionAmService.getTokenProvider()
Returns theAsyncRefreshableSupplier
being used as aSsoToken
provider for this server.Constructor parameters in org.forgerock.openig.tools.am with type arguments of type SsoTokenModifierConstructorDescriptionBuilder
(Handler amHandler, Clock clock, String agentId, String cookieName, AmVersion version, UriService uriService, AsyncRefreshableSupplier<SsoToken, AuthenticationException> tokenProvider) Create a Builder instance with every mandatory parameters. -
Uses of SsoToken in org.forgerock.openig.tools.authentication
Methods in org.forgerock.openig.tools.authentication that return types with arguments of type SsoTokenModifier and TypeMethodDescriptionAuthenticationService.authenticate
(Context context, String username, SecretReference<GenericSecret> passwordRef) Authenticates a subject (identified with the givenusername
andpasswordRef
credentials), returning asynchronously an SSO token (if the authentication succeeded) or anAuthenticationException
on failures (I/O, invalid credentials, ...).AuthenticatorAuthenticationService.authenticate
(Context context, String username, SecretReference<GenericSecret> passwordRef) -
Uses of SsoToken in org.forgerock.openig.tools.notifications.ws
Methods in org.forgerock.openig.tools.notifications.ws that return SsoTokenModifier and TypeMethodDescriptionWebSocketAdapterConfiguration.getToken()
The SSO token value provider.Methods in org.forgerock.openig.tools.notifications.ws with parameters of type SsoTokenModifier and TypeMethodDescriptionProvide the SSO token header name.Constructor parameters in org.forgerock.openig.tools.notifications.ws with type arguments of type SsoTokenModifierConstructorDescriptionNotificationServiceImpl
(HttpWebSocketClient client, URI uri, String ssoTokenHeader, AsyncRefreshableSupplier<SsoToken, AuthenticationException> tokenProvider, Duration reconnectDelay, int initialConnectionAttempts, Duration heartbeatInterval, ScheduledExecutorService heartbeatExecutor, Duration renewalDelay) Constructs aNotificationService
implementation. -
Uses of SsoToken in org.forgerock.openig.tools.notifications.ws.link
Method parameters in org.forgerock.openig.tools.notifications.ws.link with type arguments of type SsoTokenModifier and TypeMethodDescriptionstatic AmLink.AmLinkSupplier
RetryableAmLink.asInfiniteRetrySupplier
(Duration delay, AsyncRefreshableSupplier<SsoToken, AuthenticationException> tokenProvider, RetryableAmLink.AmLinkSupplierFromToken amLinkSupplierFromToken, ScheduledExecutorService executor) Builds a supplier ofRetryableAmLink
without any retry limit.static AmLink.AmLinkSupplier
RetryableAmLink.asSupplier
(boolean stopOnSslFailure, int retryLimit, Duration delay, AsyncRefreshableSupplier<SsoToken, AuthenticationException> tokenProvider, RetryableAmLink.AmLinkSupplierFromToken amLinkSupplierFromToken, ScheduledExecutorService executor) Builds a supplier ofRetryableAmLink
.