Class FSServiceManager
- java.lang.Object
-
- com.sun.identity.federation.services.FSServiceManager
-
public class FSServiceManager extends Object
Services use this class to obtain appropriate handlers for different profiles.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description FSAssertionArtifactHandlergetAssertionArtifactHandler(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, FSAuthnRequest authnRequest, FSAuthnResponse authnResponse, com.sun.identity.liberty.ws.meta.jaxb.IDPDescriptorType idpDescriptor, String idpEntityId)Returns handler atSPside which will handle fed/sso profile.FSAssertionArtifactHandlergetBrowserArtifactHandler(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, String realm, String idpSuccinctId, FSRequest samlRequest, String relayState)Obtains handler atSPside that will handle browser artifact profile.FSSSOAndFedHandlergetBrowserArtifactSSOAndFedHandler(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, Request samlRequest)Returns handler forIDPto handle browser artifact profile.FSFedTerminationHandlergetFedTerminationHandler(FSFederationTerminationNotification terminationRequest, com.sun.identity.federation.jaxb.entityconfig.BaseConfigType hostedConfig, String realm, String hostedEntityId, String hostedProviderRole, String metaAlias, String remoteEntityId)FSFedTerminationHandlergetFedTerminationHandler(String remoteEntityId, String remoteProviderRole, String userID, String realm, String hostEntityId, String metaAlias)static FSServiceManagergetInstance()ReturnsFSServiceManagerinstance.FSSSOLECPProfileHandlergetLECPProfileHandler(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, FSAuthnRequest authnRequest, String realm)Returns handler atIDPthat handlesLECPprofile.FSNameRegistrationHandlergetNameRegistrationHandler(String realm, String remoteEntityId, String remoteProviderRole)FSNameRegistrationHandlergetNameRegistrationHandler(String remoteEntityId, String remoteProviderRole, String userID, String hostEntityId, String metaAlias)FSPreLogoutHandlergetPreLogoutHandler()FSSSOAndFedHandlergetSSOAndFedHandler(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, FSAuthnRequest authnRequest, String realm)Returns handler atIDPside that handles single sign on and federation requests.
-
-
-
Method Detail
-
getAssertionArtifactHandler
public FSAssertionArtifactHandler getAssertionArtifactHandler(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, FSAuthnRequest authnRequest, FSAuthnResponse authnResponse, com.sun.identity.liberty.ws.meta.jaxb.IDPDescriptorType idpDescriptor, String idpEntityId)
Returns handler atSPside which will handle fed/sso profile.- Parameters:
request- http request objectresponse- http response objectauthnRequest- authentication request objectauthnResponse- authentication response objectidpDescriptor- identity provider descriptor who issued the authentication responseidpEntityId- identity provider's entity ID- Returns:
FSAssertionArtifactHandlerobject
-
getBrowserArtifactHandler
public FSAssertionArtifactHandler getBrowserArtifactHandler(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, String realm, String idpSuccinctId, FSRequest samlRequest, String relayState)
Obtains handler atSPside that will handle browser artifact profile.- Parameters:
request- http request objectresponse- http response objectrealm- The realm under which the entity resides.idpSuccinctId- identity provider's succinct IDsamlRequest-SAMLrequest objectrelayState- where to go after the process is done- Returns:
FSAssertionArtifactHandlerobject
-
getSSOAndFedHandler
public FSSSOAndFedHandler getSSOAndFedHandler(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, FSAuthnRequest authnRequest, String realm)
Returns handler atIDPside that handles single sign on and federation requests.- Parameters:
request- http request objectresponse- http response objectauthnRequest- authentication request sent by service providerrealm- The realm under which the entity resides.- Returns:
FSSSOAndFedHandlerobject
-
getBrowserArtifactSSOAndFedHandler
public FSSSOAndFedHandler getBrowserArtifactSSOAndFedHandler(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, Request samlRequest)
Returns handler forIDPto handle browser artifact profile.- Parameters:
request- http request objectresponse- http response objectsamlRequest-SAMLrequest- Returns:
FSSSOAndFedHandlerobject
-
getLECPProfileHandler
public FSSSOLECPProfileHandler getLECPProfileHandler(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, FSAuthnRequest authnRequest, String realm)
Returns handler atIDPthat handlesLECPprofile.- Parameters:
request- http request objectresponse- http response objectauthnRequest- authentication requestrealm- The realm under which the entity resides.- Returns:
FSSSOLECPProfileHandlerobject
-
getNameRegistrationHandler
public FSNameRegistrationHandler getNameRegistrationHandler(String realm, String remoteEntityId, String remoteProviderRole)
-
getFedTerminationHandler
public FSFedTerminationHandler getFedTerminationHandler(FSFederationTerminationNotification terminationRequest, com.sun.identity.federation.jaxb.entityconfig.BaseConfigType hostedConfig, String realm, String hostedEntityId, String hostedProviderRole, String metaAlias, String remoteEntityId)
-
getPreLogoutHandler
public FSPreLogoutHandler getPreLogoutHandler()
-
getFedTerminationHandler
public FSFedTerminationHandler getFedTerminationHandler(String remoteEntityId, String remoteProviderRole, String userID, String realm, String hostEntityId, String metaAlias)
-
getNameRegistrationHandler
public FSNameRegistrationHandler getNameRegistrationHandler(String remoteEntityId, String remoteProviderRole, String userID, String hostEntityId, String metaAlias)
-
getInstance
public static FSServiceManager getInstance()
ReturnsFSServiceManagerinstance.- Returns:
FSServiceManagerinstance
-
-