Package | Description |
---|---|
com.sun.identity.saml2.plugins |
Defines SAMLv2 Plugin SPIs.
|
com.sun.identity.saml2.profile |
Package that handles SAML v2 profiles.
|
com.sun.identity.saml2.protocol |
SAMLv2 Protocol Classes.
|
com.sun.identity.saml2.protocol.impl |
SAMLv2 Protocol Implemenetation Classes.
|
org.forgerock.openam.oauth2.saml2.core | |
org.forgerock.openam.saml2 |
Modifier and Type | Method and Description |
---|---|
IDPAuthnContextInfo |
DefaultIDPAuthnContextMapper.getIDPAuthnContextInfo(AuthnRequest authnRequest,
String idpEntityID,
String realm)
Returns an
IDPAuthnContextInfo object. |
IDPAuthnContextInfo |
IDPAuthnContextMapper.getIDPAuthnContextInfo(AuthnRequest authnRequest,
String idpEntityID,
String realm)
Returns an
IDPAuthnContextInfo object. |
List |
SAML2IDPProxyFRImpl.getPreferredIDP(AuthnRequest authnRequest,
String hostProviderID,
String realm,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Returns a list of preferred IDP providerIDs.
|
List |
ECPIDPFinder.getPreferredIDP(AuthnRequest authnRequest,
String hostProviderID,
String realm,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Returns a list of preferred IDP providerID's.
|
List |
SAML2IDPFinder.getPreferredIDP(AuthnRequest authnRequest,
String hostProviderID,
String realm,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Returns a list of preferred IDP providerID's.
|
List |
SAML2IDPProxyImpl.getPreferredIDP(AuthnRequest authnRequest,
String hostProviderID,
String realm,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Returns a list of preferred IDP providerIDs.
|
boolean |
SAML2ServiceProviderAdapter.postSingleSignOnFailure(String hostedEntityID,
String realm,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
AuthnRequest authnRequest,
Response ssoResponse,
String profile,
int failureCode)
Invokes after Single Sign-On processing failed.
|
boolean |
SAML2ServiceProviderAdapter.postSingleSignOnSuccess(String hostedEntityID,
String realm,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
PrintWriter out,
Object session,
AuthnRequest authnRequest,
Response ssoResponse,
String profile,
boolean isFederation)
Invokes after Single-Sign-On processing succeeded.
|
boolean |
SAML2IdentityProviderAdapter.preAuthentication(String hostedEntityID,
String realm,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
AuthnRequest authnRequest,
Object session,
String reqID,
String relayState)
Invokes when OpenAM has received the authn request, processed it, and is ready to redirect to authentication.
|
boolean |
DefaultIDPAdapter.preAuthentication(String hostedEntityID,
String realm,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
AuthnRequest authnRequest,
Object session,
String reqID,
String relayState)
Default implementation, takes no action and returns false (no interruption to processing).
|
boolean |
SAML2IdentityProviderAdapter.preSendResponse(AuthnRequest authnRequest,
String hostProviderID,
String realm,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Object session,
String reqID,
String relayState)
This method is invoked before sending a non-error SAML2 Response, but before the SAML Response object is
constructed.
|
boolean |
DefaultIDPAdapter.preSendResponse(AuthnRequest authnRequest,
String hostProviderID,
String realm,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Object session,
String reqID,
String relayState)
Default implementation, takes no action and returns false (no interruption to processing).
|
void |
SAML2IdentityProviderAdapter.preSignResponse(AuthnRequest authnRequest,
Response res,
String hostProviderID,
String realm,
javax.servlet.http.HttpServletRequest request,
Object session,
String relayState)
Called after the SAML Response object is created, but before the Response is signed/encrypted.
|
void |
DefaultIDPAdapter.preSignResponse(AuthnRequest authnRequest,
Response res,
String hostProviderID,
String realm,
javax.servlet.http.HttpServletRequest request,
Object session,
String relayState) |
boolean |
SAML2IdentityProviderAdapter.preSingleSignOn(String hostedEntityID,
String realm,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
AuthnRequest authnRequest,
String reqID)
Invokes when OpenAM receives the authentication request for the first time
from the SP, and is called before any processing started on the IDP side.
|
boolean |
DefaultIDPAdapter.preSingleSignOn(String hostedEntityID,
String realm,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
AuthnRequest authnRequest,
String reqID)
Default implementation, takes no action and returns false (no interruption to processing).
|
void |
SAML2ServiceProviderAdapter.preSingleSignOnProcess(String hostedEntityID,
String realm,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
AuthnRequest authnRequest,
Response ssoResponse,
String profile)
Invokes when the
FAM received the Single-Sign-On response
from the IDP, this is called before any processing started on SP side. |
void |
SAML2ServiceProviderAdapter.preSingleSignOnRequest(String hostedEntityID,
String idpEntityID,
String realm,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
AuthnRequest authnRequest)
Invokes before OpenAM sends the
Single-Sign-On request to IDP.
|
Modifier and Type | Method and Description |
---|---|
static AuthnRequest |
SPSSOFederate.createAuthnRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String realmName,
String spEntityID,
String idpEntityID,
Map paramsMap,
Map spConfigMap,
List extensionsList,
SPSSODescriptorElement spsso,
IDPSSODescriptorElement idpsso,
String ssourl,
boolean isForECP)
Create an AuthnRequest.
|
AuthnRequest |
AuthnRequestInfo.getAuthnRequest()
Returns the
AuthnRequest Object. |
Modifier and Type | Method and Description |
---|---|
static void |
IDPSSOUtil.doSSOFederate(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
PrintWriter out,
AuthnRequest authnReq,
String spEntityID,
String idpMetaAlias,
String nameIDFormat,
String relayState,
Object newSession,
SAML2EventLogger auditor)
Does SSO with existing federation or new federation
|
static void |
IDPSSOUtil.doSSOFederate(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
PrintWriter out,
AuthnRequest authnReq,
String spEntityID,
String idpMetaAlias,
String nameIDFormat,
String relayState,
SAML2EventLogger auditor)
Does SSO with existing federation or new federation
|
static String |
IDPSSOUtil.getACSurl(String spEntityID,
String realm,
AuthnRequest authnReq,
javax.servlet.http.HttpServletRequest request,
StringBuffer rBinding)
Returns the assertion consumer service
URL |
static String |
SPSSOFederate.getPostBindingMsg(IDPSSODescriptorElement idpsso,
SPSSODescriptorElement spsso,
Map spConfigAttrsMap,
AuthnRequest authnRequest)
Gets the Post Binding message
|
static String |
IDPProxyUtil.getPreferredIDP(AuthnRequest authnRequest,
String hostedEntityId,
String realm,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Gets the preferred IDP Id to be proxied.
|
static Response |
IDPSSOUtil.getResponse(javax.servlet.http.HttpServletRequest request,
Object session,
AuthnRequest authnReq,
String recipientEntityID,
String idpEntityID,
String idpMetaAlias,
String realm,
String nameIDFormat,
String acsURL,
String affiliationID,
AuthnContext matchingAuthnContext)
Returns a
SAML Response object. |
static boolean |
IDPProxyUtil.isIDPProxyEnabled(AuthnRequest authnRequest,
String realm)
Checks if the identity provider is configured for proxying the
authentication requests for a requesting service provider.
|
static void |
IDPProxyUtil.sendProxyAuthnRequest(AuthnRequest authnRequest,
String preferredIDP,
SPSSODescriptorElement spSSODescriptor,
String hostedEntityId,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String realm,
String relayState,
String originalBinding)
Sends a new AuthnRequest to the authenticating provider.
|
static void |
IDPSSOUtil.sendResponseToACS(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
PrintWriter out,
Object session,
AuthnRequest authnReq,
String spEntityID,
String idpEntityID,
String idpMetaAlias,
String realm,
String nameIDFormat,
String relayState,
AuthnContext matchingAuthnContext)
Sends
Response containing an Assertion
back to the requesting service provider |
static void |
IDPSSOUtil.sendResponseWithStatus(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
PrintWriter out,
String idpMetaAlias,
String idpEntityID,
String realm,
AuthnRequest authnReq,
String relayState,
String spEntityID,
String firstlevelStatusCodeValue,
String secondlevelStatusCodeValue)
A convenience method to construct response with First-level and Second-level status code for
SAML authentication requests.
|
static void |
SPSSOFederate.signAuthnRequest(String certAlias,
AuthnRequest authnRequest)
Sign an authentication request.
|
Constructor and Description |
---|
AuthnRequestInfo(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String realm,
String spEntityID,
String idpEntityID,
AuthnRequest authnReq,
String relayState,
Map paramsMap)
Constructor creates the AuthnRequest Info for a request.
|
Modifier and Type | Method and Description |
---|---|
AuthnRequest |
ProtocolFactory.createAuthnRequest()
Returns the
AuthnRequest Object. |
AuthnRequest |
ProtocolFactory.createAuthnRequest(Element value)
Returns the
AuthnRequest Object. |
AuthnRequest |
ProtocolFactory.createAuthnRequest(String value)
Returns the
AuthnRequest Object. |
Modifier and Type | Class and Description |
---|---|
class |
AuthnRequestImpl
The
AuthnRequestImpl implements the
AuthnRequest interface , defines methods for
properties required by a saml request. |
Modifier and Type | Method and Description |
---|---|
boolean |
OAuth2Saml2GrantSPAdapter.postSingleSignOnFailure(String hostedEntityID,
String realm,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
AuthnRequest authnRequest,
Response ssoResponse,
String profile,
int failureCode) |
boolean |
OAuth2Saml2GrantSPAdapter.postSingleSignOnSuccess(String hostedEntityID,
String realm,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
PrintWriter out,
Object session,
AuthnRequest authnRequest,
Response ssoResponse,
String profile,
boolean isFederation) |
void |
OAuth2Saml2GrantSPAdapter.preSingleSignOnProcess(String hostedEntityID,
String realm,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
AuthnRequest authnRequest,
Response ssoResponse,
String profile) |
void |
OAuth2Saml2GrantSPAdapter.preSingleSignOnRequest(String hostedEntityID,
String idpEntityID,
String realm,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
AuthnRequest authnRequest) |
Modifier and Type | Method and Description |
---|---|
AuthnRequest |
IDPSSOFederateRequest.getAuthnRequest()
Gets the authentication request.
|
Modifier and Type | Method and Description |
---|---|
void |
IDPSSOFederateRequest.setAuthnRequest(AuthnRequest authnReq)
Sets the authentication request.
|
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.