public class SingleSignOnFilter extends Object implements org.forgerock.http.Filter
If the SSOToken is not valid or if cookie header is not present or empty, then the user-agent is redirected to OpenAM login page. Once log in has been successful, the request is forwarded.
{
"type": "SingleSignOnFilter",
"config": {
"openamUrl" : uriExpression [REQUIRED]
"cookieName" : String [OPTIONAL - by default is 'iPlanetDirectoryPro']
"realm" : String [OPTIONAL - default is '/']
"amHandler" : handler [OPTIONAL - by default it uses the
'ForgeRockClientHandler' provided in heap.]
}
}
Modifier and Type | Class and Description |
---|---|
static class |
SingleSignOnFilter.Heaplet
Creates and initialises an authentication filter in a heap environment.
|
Modifier and Type | Method and Description |
---|---|
org.forgerock.util.promise.Promise<org.forgerock.http.protocol.Response,org.forgerock.util.promise.NeverThrowsException> |
filter(org.forgerock.services.context.Context context,
org.forgerock.http.protocol.Request request,
org.forgerock.http.Handler next) |
public org.forgerock.util.promise.Promise<org.forgerock.http.protocol.Response,org.forgerock.util.promise.NeverThrowsException> filter(org.forgerock.services.context.Context context, org.forgerock.http.protocol.Request request, org.forgerock.http.Handler next)
filter
in interface org.forgerock.http.Filter
Copyright © 2025 Open Identity Platform Community. All rights reserved.