Package com.sun.identity.saml.common
Class SAMLServiceManager.SOAPEntry
- java.lang.Object
-
- com.sun.identity.saml.common.SAMLServiceManager.SOAPEntry
-
- Enclosing class:
- SAMLServiceManager
public static class SAMLServiceManager.SOAPEntry extends Object
Contains the mapping between Source ID (SourceID) and its SOAP-Receiver-servlet URL (SOAPUrl). SourceID is the primary Key.
-
-
Constructor Summary
Constructors Constructor Description SOAPEntry(String sourceid, String soapUrl, String authType, String user, String bAuthUserID, String bAuthPasswd, String certAlias, PartnerAccountMapper partnerAccountMapper, SiteAttributeMapper siteAttributeMapper, PartnerSiteAttributeMapper partnerSiteAttributeMapper, ConsumerSiteAttributeMapper consumerSiteAttrMapper, NameIdentifierMapper nameIdentifierMapper, AttributeMapper attrMapper, ActionMapper actionMapper, String issuer, Set origHostSet, String version)Constructs aSOAPEntry.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ActionMappergetActionMapper()ReturnsActionMapperfor handlingAuthorizationDecisionQuerysent by the partner site.AttributeMappergetAttributeMapper()ReturnsAttributeMapperfor handlingAttributeQuerysent by the partner site.StringgetAuthType()Returns the authentication type used to protect the partner site's soap receiver.StringgetBasicAuthPassword()Returns user password for basic authentication.StringgetBasicAuthUserID()Returns user ID for basic authentication.StringgetCertAlias()Returns certificate alias can be used to verify a signature signed by the partner site.ConsumerSiteAttributeMappergetConsumerSiteAttributeMapper()ReturnsConsumerSiteAttributeMapperinstance.SetgetHostSet()Returns set of hostname, ipaddress, and/or certificate alias of partner site that is allowed to send soap request.StringgetIssuer()Returns issuer value of the partner site.NameIdentifierMappergetNameIdentifierMapper()ReturnsNameIdentifierMapperinstance.PartnerAccountMappergetPartnerAccountMapper()ReturnsPartnerAccountMapperinstance.PartnerSiteAttributeMappergetPartnerSiteAttributeMapper()ReturnsPartnerSiteAttributeMapperinstance.SiteAttributeMappergetSiteAttributeMapper()ReturnsSiteAttributeMapperinstance.StringgetSOAPUrl()Returns SOAP receiver endpoint url.StringgetSourceID()Returns source ID of the partner site.StringgetUser()Deprecated.StringgetVersion()Returns SAML 1.x version the partner site preferred to use.
-
-
-
Constructor Detail
-
SOAPEntry
public SOAPEntry(String sourceid, String soapUrl, String authType, String user, String bAuthUserID, String bAuthPasswd, String certAlias, PartnerAccountMapper partnerAccountMapper, SiteAttributeMapper siteAttributeMapper, PartnerSiteAttributeMapper partnerSiteAttributeMapper, ConsumerSiteAttributeMapper consumerSiteAttrMapper, NameIdentifierMapper nameIdentifierMapper, AttributeMapper attrMapper, ActionMapper actionMapper, String issuer, Set origHostSet, String version)
Constructs aSOAPEntry.- Parameters:
sourceid- Source ID of the partner site.soapUrl- SOAP Receiver endpoint URL.authType- Authentication type should be used to protect the soap receiver.user- ID of the user whose attributes will be used for basic authentication.bAuthUserID- user ID for basic authenticationbAuthPasswd- user password for basic authenticationcertAlias- certificate alias used to verify signaturepartnerAccountMapper-PartnerAccountMapperplugin instancesiteAttributeMapper-SiteAttributeMapperplugin instancepartnerSiteAttributeMapper-PartnerSiteAttributeMapperplugin instanceconsumerSiteAttrMapper-ConsumerSiteAttributeMapperplugin instancenameIdentifierMapper-NameIdentifierMapperplugin instanceattrMapper-AttributeMapperplugin instanceactionMapper-ActionMapperplugin instanceissuer- String which is the issuer of the siteorigHostSet- Set of hostname, ipaddress, and/or certificate alias of the partner site.version- SAML version the partner site is preferred to.
-
-
Method Detail
-
getSourceID
public String getSourceID()
Returns source ID of the partner site. This isBase64encoded 20-byte sequence.- Returns:
- source ID of the partner site.
-
getSOAPUrl
public String getSOAPUrl()
Returns SOAP receiver endpoint url.- Returns:
- String SOAP receiver endpoint url.
-
getAuthType
public String getAuthType()
Returns the authentication type used to protect the partner site's soap receiver.- Returns:
- String authenticaiton type.
-
getUser
public String getUser()
Deprecated.Returns user ID whose attributes will be retrieved to do basic auth. This Method is depreciated. You should use methodgetBasicAuthUserIDandgetBasicAuthPasswordinstead.- Returns:
- String user ID.
- See Also:
getBasicAuthUserID(),getBasicAuthPassword()
-
getBasicAuthUserID
public String getBasicAuthUserID()
Returns user ID for basic authentication. This is used when the partner soap endpoint is protected by HTTP basic authentication.- Returns:
- String user ID for basic authentication.
-
getBasicAuthPassword
public String getBasicAuthPassword()
Returns user password for basic authentication. This is used when the partner soap endpoint is protected by HTTP basic authentication.- Returns:
- String user password for basic authentication.
-
getCertAlias
public String getCertAlias()
Returns certificate alias can be used to verify a signature signed by the partner site. It is used when the signature doesn't contain a <KeyInfo> element.- Returns:
- String certificate alias.
-
getVersion
public String getVersion()
Returns SAML 1.x version the partner site preferred to use. It's value is 1.0 or 1.1.- Returns:
- String SAML 1.x version the partner site preferred to use.
-
getPartnerAccountMapper
public PartnerAccountMapper getPartnerAccountMapper()
ReturnsPartnerAccountMapperinstance.- Returns:
- PartnerAccountMapper instance.
-
getSiteAttributeMapper
public SiteAttributeMapper getSiteAttributeMapper()
ReturnsSiteAttributeMapperinstance.- Returns:
- SiteAttributeMapper instance.
-
getPartnerSiteAttributeMapper
public PartnerSiteAttributeMapper getPartnerSiteAttributeMapper()
ReturnsPartnerSiteAttributeMapperinstance.- Returns:
- PartnerSiteAttributeMapper instance.
-
getConsumerSiteAttributeMapper
public ConsumerSiteAttributeMapper getConsumerSiteAttributeMapper()
ReturnsConsumerSiteAttributeMapperinstance.- Returns:
- ConsumerSiteAttributeMapper instance.
-
getNameIdentifierMapper
public NameIdentifierMapper getNameIdentifierMapper()
ReturnsNameIdentifierMapperinstance.- Returns:
- the
NameIdentifierMapperinstance.
-
getAttributeMapper
public AttributeMapper getAttributeMapper()
ReturnsAttributeMapperfor handlingAttributeQuerysent by the partner site.- Returns:
- AttributeMapper instance.
-
getActionMapper
public ActionMapper getActionMapper()
ReturnsActionMapperfor handlingAuthorizationDecisionQuerysent by the partner site.- Returns:
- ActionMapper instance.
-
getIssuer
public String getIssuer()
Returns issuer value of the partner site.- Returns:
- String issuer value of the partner site.
-
getHostSet
public Set getHostSet()
Returns set of hostname, ipaddress, and/or certificate alias of partner site that is allowed to send soap request.- Returns:
- Set of hostname, ipaddress, and/or certificate alias.
-
-