public class FSAuthnDecisionHandler extends Object
IDP
to decide which authentication to use to meet the
need of requested authentication context.Constructor and Description |
---|
FSAuthnDecisionHandler(String realm,
String entityID,
javax.servlet.http.HttpServletRequest request)
Constructs a new
FSAuthnDecisionHandler object. |
Modifier and Type | Method and Description |
---|---|
FSAuthContextResult |
decideAuthnContext(List authContextRef,
String presentAuthContext,
String authType)
Decides if present authentication context is sufficient comparing to
the requested authentication context.
|
FSAuthContextResult |
getURLForAuthnContext(List authContextClassRef)
Finds authentication context result based on the request authentication
context.
|
FSAuthContextResult |
getURLForAuthnContext(List authContextClassRef,
String authType)
Finds authentication context result based on the request authentication
context and comparison type.
|
public FSAuthnDecisionHandler(String realm, String entityID, javax.servlet.http.HttpServletRequest request)
FSAuthnDecisionHandler
object. It handles
authentication decision based on the configuration per identity provider.realm
- The realm under which the entity resides.entityID
- hosted identity provider entity IDrequest
- http servlet requestpublic FSAuthContextResult decideAuthnContext(List authContextRef, String presentAuthContext, String authType)
authContextRef
- requested authentication contextspresentAuthContext
- present authentication contextauthType
- authentication context comparison type. The possible
values are exact
, minimum
,
better
, and maximum
.FSAuthContextResult
object with login url set if
the present authentication context is not sufficient; login url set to
null
if the present authentication context is sufficient.
Return null
if it cannot be decided or appropriate
authentication context cannot be obtained.public FSAuthContextResult getURLForAuthnContext(List authContextClassRef, String authType)
authContextClassRef
- list of requested authentication context
class referencesauthType
- requested authentication context comparison type.
Possible values are exact
, minimum
,
better
, and maximum
FSAuthContextResult
objectpublic FSAuthContextResult getURLForAuthnContext(List authContextClassRef)
authContextClassRef
- list of requested authentication context
class referencesFSAuthContextResult
objectCopyright © 2010–2025 Open Identity Platform Community. All rights reserved.