Class IDPSSOUtil
- java.lang.Object
-
- com.sun.identity.wsfederation.profile.IDPSSOUtil
-
public class IDPSSOUtil extends Object
The utility class is used by the identity provider to process the authentication request from a service provider and send back a proper response. The identity provider can also send unsolicited response to a service provider to do single sign on and/or federation.
-
-
Constructor Summary
Constructors Constructor Description IDPSSOUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringgetACSurl(String entityId, String realm, String wreply)Returns the assertion consumer service (ACS) URL for the entity.static StringgetAuthenticationServiceURL(String realm, String hostEntityId, jakarta.servlet.http.HttpServletRequest request)Returns the authentication serviceURLof the identity provider
-
-
-
Method Detail
-
getAuthenticationServiceURL
public static String getAuthenticationServiceURL(String realm, String hostEntityId, jakarta.servlet.http.HttpServletRequest request)
Returns the authentication serviceURLof the identity provider- Parameters:
realm- the realm name of the identity providerhostEntityId- the entity id of the identity providerrequest- theHttpServletRequestobject- Returns:
- the authentication service
URLof the identity provider
-
getACSurl
public static String getACSurl(String entityId, String realm, String wreply) throws WSFederationMetaException
Returns the assertion consumer service (ACS) URL for the entity.- Parameters:
entityId- entity ID of providerrealm- realm of the providerwreply- the ACSURL supplied by the requestor. If supplied, this is checked against the URLs registered for the provider.- Returns:
- assertion consumer service (ACS) URL for the entity.
- Throws:
WSFederationMetaException
-
-