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 ActionMapper
getActionMapper()
ReturnsActionMapper
for handlingAuthorizationDecisionQuery
sent by the partner site.AttributeMapper
getAttributeMapper()
ReturnsAttributeMapper
for handlingAttributeQuery
sent by the partner site.String
getAuthType()
Returns the authentication type used to protect the partner site's soap receiver.String
getBasicAuthPassword()
Returns user password for basic authentication.String
getBasicAuthUserID()
Returns user ID for basic authentication.String
getCertAlias()
Returns certificate alias can be used to verify a signature signed by the partner site.ConsumerSiteAttributeMapper
getConsumerSiteAttributeMapper()
ReturnsConsumerSiteAttributeMapper
instance.Set
getHostSet()
Returns set of hostname, ipaddress, and/or certificate alias of partner site that is allowed to send soap request.String
getIssuer()
Returns issuer value of the partner site.NameIdentifierMapper
getNameIdentifierMapper()
ReturnsNameIdentifierMapper
instance.PartnerAccountMapper
getPartnerAccountMapper()
ReturnsPartnerAccountMapper
instance.PartnerSiteAttributeMapper
getPartnerSiteAttributeMapper()
ReturnsPartnerSiteAttributeMapper
instance.SiteAttributeMapper
getSiteAttributeMapper()
ReturnsSiteAttributeMapper
instance.String
getSOAPUrl()
Returns SOAP receiver endpoint url.String
getSourceID()
Returns source ID of the partner site.String
getUser()
Deprecated.String
getVersion()
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
-PartnerAccountMapper
plugin instancesiteAttributeMapper
-SiteAttributeMapper
plugin instancepartnerSiteAttributeMapper
-PartnerSiteAttributeMapper
plugin instanceconsumerSiteAttrMapper
-ConsumerSiteAttributeMapper
plugin instancenameIdentifierMapper
-NameIdentifierMapper
plugin instanceattrMapper
-AttributeMapper
plugin instanceactionMapper
-ActionMapper
plugin 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 isBase64
encoded 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 methodgetBasicAuthUserID
andgetBasicAuthPassword
instead.- 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()
ReturnsPartnerAccountMapper
instance.- Returns:
- PartnerAccountMapper instance.
-
getSiteAttributeMapper
public SiteAttributeMapper getSiteAttributeMapper()
ReturnsSiteAttributeMapper
instance.- Returns:
- SiteAttributeMapper instance.
-
getPartnerSiteAttributeMapper
public PartnerSiteAttributeMapper getPartnerSiteAttributeMapper()
ReturnsPartnerSiteAttributeMapper
instance.- Returns:
- PartnerSiteAttributeMapper instance.
-
getConsumerSiteAttributeMapper
public ConsumerSiteAttributeMapper getConsumerSiteAttributeMapper()
ReturnsConsumerSiteAttributeMapper
instance.- Returns:
- ConsumerSiteAttributeMapper instance.
-
getNameIdentifierMapper
public NameIdentifierMapper getNameIdentifierMapper()
ReturnsNameIdentifierMapper
instance.- Returns:
- the
NameIdentifierMapper
instance.
-
getAttributeMapper
public AttributeMapper getAttributeMapper()
ReturnsAttributeMapper
for handlingAttributeQuery
sent by the partner site.- Returns:
- AttributeMapper instance.
-
getActionMapper
public ActionMapper getActionMapper()
ReturnsActionMapper
for handlingAuthorizationDecisionQuery
sent 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.
-
-