You should see servlet response output similar to
the following:
The SAML Request to be sent is:
<samlp:Request
xmlns:samlp="urn:oasis:names:tc:SAML:1.0:protocol"
RequestID="ZadxB2mWot+mfSo7lQMU4MykzKw=" MajorVersion="1" MinorVersion="0"
IssueInstant="2002-08-31T00:01:53Z">
<samlp:AuthenticationQuery>
<saml:Subject xmlns:saml="urn:oasis:names:tc:SAML:1.0:assertion">
<saml:NameIdentifier
NameQualifier="dc=example,dc=com">uid=amAdmin,ou=People,dc=example,dc=com</saml:NameIdentifier>
<saml:SubjectConfirmation>
<saml:ConfirmationMethod>urn:com:sun:identity</saml:ConfirmationMethod>
<saml:SubjectConfirmationData>AQIC5wM2LY4SfcxkBK5+0S4DoN9U/
KHQ268NBt7ozAcWu4T2fgi4vKcz9h1imi6pl/
bCqtgxS7RGdRvEpHXCKktFn7xI4cZw2TriUgfqMa7+f+c=
@neuhome.red.iplanet.com-0%3A3d700638%3A7d3e164a9afd89e8</
saml:SubjectConfirmationData>
</saml:SubjectConfirmation>
</saml:Subject>
</samlp:AuthenticationQuery>
</samlp:Request>
The SOAP
endpoint is:
http://neuhome.red.iplanet.com:58080/amserver/SAMLSOAPReceiver
The response received is
<samlp:Response xmlns:samlp="urn:oasis:names:tc:SAML:1.0:protocol"
ResponseID="IYQ5pYcm4sw8rE+mw81beABfnNA="
InResponseTo="ZadxB2mWot+mfSo7lQMU4MykzKw=" MajorVersion="1" MinorVersion="0"
IssueInstant="2002-08-31T00:01:53Z" Recipient="192.18.148.29">
<samlp:Status>
<samlp:StatusCode Value="samlp:Success">
</samlp:StatusCode>
</samlp:Status>
<saml:Assertion xmlns:saml="urn:oasis:names:tc:SAML:1.0:assertion" MajorVersion="1"
MinorVersion="0" AssertionID="92yF88dhd1K2+tGOzFs8jJvF7Mw="
Issuer="neuhome.red.iplanet.com:58080" IssueInstant="2002-08-31T00:01:53Z">
<saml:Conditions NotBefore="2002-08-30T23:56:53Z" NotOnOrAfter="2002-08-31T00:02:53Z"
>
</saml:Conditions>
<saml:AuthenticationStatement AuthenticationMethod="urn:com:sun:identity:LDAP"
AuthenticationInstant="2002-08-30T23:57:13Z">
<saml:Subject>
<saml:NameIdentifier
NameQualifier="dc=example,dc=com">uid=amAdmin,ou=People,dc=example,dc=com</saml:NameIdentifier>
<saml:SubjectConfirmation>
<saml:ConfirmationMethod>urn:com:sun:identity</saml:ConfirmationMethod>
<saml:SubjectConfirmationData>AQIC5wM2LY4SfcxkBK5+0S4DoN9U/
KHQ268NBt7ozAcWu4T2fgi4vKcz9h1imi6pl/
bCqtgxS7RGdRvEpHXCKktFn7xI4cZw2TriUgfqMa7+f+c=
@neuhome.red.iplanet.com-0%3A3d700638%3A7d3e164a9afd89e8</
saml:SubjectConfirmationData>
</saml:SubjectConfirmation>
</saml:Subject>
<saml:SubjectLocality IPAddress="192.18.148.29" /></saml:AuthenticationStatement>
</saml:Assertion>
</samlp:Response>
The SAML
Request to be sent is:
<samlp:Request
xmlns:samlp="urn:oasis:names:tc:SAML:1.0:protocol"
RequestID="G/AUygEJazkTo0zQJg5tlP8R/T8=" MajorVersion="1" MinorVersion="0"
IssueInstant="2002-08-31T00:01:53Z">
<samlp:AttributeQuery>
<saml:Subject xmlns:saml="urn:oasis:names:tc:SAML:1.0:assertion">
<saml:NameIdentifier
NameQualifier="dc=example,dc=com">uid=amAdmin,ou=People,dc=example,dc=com</saml:NameIdentifier>
<saml:SubjectConfirmation>
<saml:ConfirmationMethod>urn:com:sun:identity</saml:ConfirmationMethod>
<saml:SubjectConfirmationData><saml:Assertion
AssertionID="92yF88dhd1K2+tGOzFs8jJvF7Mw=" IssueInstant="2002-08-31T00:01:53Z"
Issuer="neuhome.red.iplanet.com:58080" MajorVersion="1" MinorVersion="0"
xmlns:saml="urn:oasis:names:tc:SAML:1.0:assertion">
<saml:Conditions NotBefore="2002-08-30T23:56:53Z"
NotOnOrAfter="2002-08-31T00:02:53Z">
</saml:Conditions>
<saml:AuthenticationStatement AuthenticationInstant="2002-08-30T23:57:13Z"
AuthenticationMethod="urn:com:sun:identity:LDAP">
<saml:Subject>
<saml:NameIdentifier
NameQualifier="dc=example,dc=com">uid=amAdmin,ou=People,dc=example,dc=com</saml:NameIdentifier>
<saml:SubjectConfirmation>
<saml:ConfirmationMethod>urn:com:sun:identity</saml:ConfirmationMethod>
<saml:SubjectConfirmationData>AQIC5wM2LY4SfcxkBK5+0S4DoN9U/
KHQ268NBt7ozAcWu4T2fgi4vKcz9h1imi6pl/
bCqtgxS7RGdRvEpHXCKktFn7xI4cZw2TriUgfqMa7+f+c=
@neuhome.red.iplanet.com-0%3A3d700638%3A7d3e164a9afd89e8</
saml:SubjectConfirmationData>
</saml:SubjectConfirmation>
</saml:Subject>
<saml:SubjectLocality
IPAddress="192.18.148.29"></saml:SubjectLocality></saml:AuthenticationStatement>
</saml:Assertion>
</saml:SubjectConfirmationData>
</saml:SubjectConfirmation>
</saml:Subject>
</samlp:AttributeQuery>
</samlp:Request>
The response received is:
<samlp:Response xmlns:samlp="urn:oasis:names:tc:SAML:1.0:protocol"
ResponseID="slFcTqP6CFq26xs3pnlpfpRID2I="
InResponseTo="G/AUygEJazkTo0zQJg5tlP8R/T8=" MajorVersion="1" MinorVersion="0"
IssueInstant="2002-08-31T00:01:53Z" Recipient="192.18.148.29">
<samlp:Status>
<samlp:StatusCode Value="samlp:Success">
</samlp:StatusCode>
</samlp:Status>
<saml:Assertion xmlns:saml="urn:oasis:names:tc:SAML:1.0:assertion" MajorVersion="1"
MinorVersion="0" AssertionID="PhI5XH0rkUCNTlLBaIe4/Y5nT8w="
Issuer="neuhome.red.iplanet.com:58080" IssueInstant="2002-08-31T00:01:53Z"
>
<saml:Conditions NotBefore="2002-08-30T23:56:53Z" NotOnOrAfter="2002-08-31T00:02:53Z"
>
</saml:Conditions>
<saml:AttributeStatement >
<saml:Subject>
<saml:NameIdentifier
NameQualifier="dc=example,dc=com">uid=amAdmin,ou=People,dc=example,dc=com</saml:NameIdentifier>
<saml:SubjectConfirmation>
<saml:ConfirmationMethod>urn:com:sun:identity</saml:ConfirmationMethod>
<saml:SubjectConfirmationData><saml:Assertion
AssertionID="92yF88dhd1K2+tGOzFs8jJvF7Mw=" IssueInstant="2002-08-31T00:01:53Z"
Issuer="neuhome.red.iplanet.com:58080" MajorVersion="1" MinorVersion="0"
xmlns:saml="urn:oasis:names:tc:SAML:1.0:assertion">
<saml:Conditions NotBefore="2002-08-30T23:56:53Z"
NotOnOrAfter="2002-08-31T00:02:53Z">
</saml:Conditions>
<saml:AuthenticationStatement AuthenticationInstant="2002-08-30T23:57:13Z"
AuthenticationMethod="urn:com:sun:identity:LDAP">
<saml:Subject>
<saml:NameIdentifier
NameQualifier="dc=example,dc=com">uid=amAdmin,ou=People,dc=example,dc=com</saml:NameIdentifier>
<saml:SubjectConfirmation>
<saml:ConfirmationMethod>urn:com:sun:identity</saml:ConfirmationMethod>
<saml:SubjectConfirmationData>AQIC5wM2LY4SfcxkBK5+0S4DoN9U/
KHQ268NBt7ozAcWu4T2fgi4vKcz9h1imi6pl
bCqtgxS7RGdRvEpHXCKktFn7xI4cZw2TriUgfqMa7+f+c=
@neuhome.red.iplanet.com-0%3A3d700638%3A7d3e164a9afd89e8</
saml:SubjectConfirmationData>
</saml:SubjectConfirmation>
</saml:Subject>
<saml:SubjectLocality
IPAddress="192.18.148.29"></saml:SubjectLocality></saml:AuthenticationStatement>
</saml:Assertion>
</saml:SubjectConfirmationData>
</saml:SubjectConfirmation>
</saml:Subject>
<saml:Attribute AttributeName="userpassword" AttributeNamespace="iPlanetAMUserService">
<saml:AttributeValue
xmlns:saml="urn:oasis:names:tc:SAML:1.0:assertion">
{SSHA}3/GreMuCxplJr518lWknB6wADY0vVcIZBFX8Pw==</saml:AttributeValue>
</saml:Attribute>
<saml:Attribute AttributeName="uid" AttributeNamespace="iPlanetAMUserService">
<saml:AttributeValue
xmlns:saml="urn:oasis:names:tc:SAML:1.0:assertion">amAdmin</saml:AttributeValue>
</saml:Attribute>
<saml:Attribute AttributeName="cn" AttributeNamespace="iPlanetAMUserService">
<saml:AttributeValue
xmlns:saml="urn:oasis:names:tc:SAML:1.0:assertion">amAdmin</saml:AttributeValue>
</saml:Attribute>
<saml:Attribute AttributeName="inetuserstatus"
AttributeNamespace="iPlanetAMUserService">
<saml:AttributeValue
xmlns:saml="urn:oasis:names:tc:SAML:1.0:assertion">Active</saml:AttributeValue>
</saml:Attribute>
<saml:Attribute AttributeName="sn" AttributeNamespace="iPlanetAMUserService">
<saml:AttributeValue
xmlns:saml="urn:oasis:names:tc:SAML:1.0:assertion">amAdmin</saml:AttributeValue>
</saml:Attribute>
</saml:AttributeStatement>
</saml:Assertion>
</samlp:Response>