Uses of Class
org.forgerock.openig.tools.authentication.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
Modifier and TypeMethodDescriptionInvalidCallerTokenDetectionFilter.sessionInfoDetectionFilter
(String headerName, AsyncRefreshableSupplier<SsoToken, AuthenticationException> tokenSupplier) Returns a new detection filter suitable for use with getSessionInfo requests.ModifierConstructorDescriptionHeadlessAuthenticationFilter
(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
Modifier and TypeMethodDescriptionAmService.getTokenProvider()
Returns theAsyncRefreshableSupplier
being used as aSsoToken
provider for this server.ModifierConstructorDescriptionBuilder
(Handler amHandler, Clock clock, String agentId, String cookieName, AmVersion version, UriService uriService, AsyncRefreshableSupplier<SsoToken, AuthenticationException> tokenProvider, org.forgerock.openig.tracing.TracingProvider tracingProvider) Create a Builder instance with every mandatory parameters. -
Uses of SsoToken in org.forgerock.openig.tools.authentication
Modifier 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
Modifier and TypeMethodDescriptionWebSocketAdapterConfiguration.getToken()
The SSO token value provider.Modifier and TypeMethodDescriptionProvide the SSO token header name.ModifierConstructorDescriptionNotificationServiceImpl
(HttpWebSocketClient client, URI uri, String ssoTokenHeader, AsyncRefreshableSupplier<SsoToken, AuthenticationException> tokenProvider, Duration reconnectDelay, int initialConnectionAttempts, Duration heartbeatInterval, ScheduledExecutorService heartbeatExecutor, Duration renewalDelay, org.forgerock.openig.tracing.TracingProvider tracingProvider) Constructs aNotificationService
implementation. -
Uses of SsoToken in org.forgerock.openig.tools.notifications.ws.link
Modifier and TypeMethodDescriptionstatic AmLink.AmLinkSupplier
RetryableAmLink.asInfiniteRetrySupplier
(Duration delay, AsyncRefreshableSupplier<SsoToken, AuthenticationException> tokenProvider, RetryableAmLink.AmLinkSupplierFromToken amLinkSupplierFromToken, ScheduledExecutorService executor, org.forgerock.openig.tracing.TracingProvider tracingProvider) 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, org.forgerock.openig.tracing.TracingProvider tracingProvider) Builds a supplier ofRetryableAmLink
.