%SAML.Subject
Class %SAML.Subject Extends (%RegisteredObject, %XML.Adaptor) [ Inheritance = right, System = 4 ]
A SAML Subject
Parameters
XMLFORMAT
Parameter XMLFORMAT = "literal";
NAMESPACE
Parameter NAMESPACE = "urn:oasis:names:tc:SAML:2.0:assertion";
ELEMENTQUALIFIED
Parameter ELEMENTQUALIFIED = 0;
Properties
NameID
Property NameID As %SAML.BaseID(XMLREF = 1, XMLTYPECONSTRAINT = "choice");
SubjectConfirmation
Property SubjectConfirmation As list Of %SAML.SubjectConfirmation(XMLPROJECTION = "element", XMLREF = 1);
Methods
AddConfirmation
Method AddConfirmation(method As %String) As %Status
Create SubjectConfirmation with specified SubjectConfirmation method. The method argument should be $$$SAMLSenderVouches, $$$SAMLHolderOfKey or $$$SAMLBearer. The NameID field must still be set for the Subject.
AddX509Confirmation
Method AddX509Confirmation(credentials As %SYS.X509Credentials, referenceOption As %Integer) As %Status
Create SubjectConfirmation and associated KeyInfo for holder-of-key SubjectConfirmation based X.509 credentials. The NameID field must still be set for the Subject.
AddEncryptedKeyConfirmation
Method AddEncryptedKeyConfirmation(encryptedKey As %XML.Security.EncryptedKey) As %Status
Create SubjectConfirmation and associated KeyInfo for holder-of-key SubjectConfirmation based on EncryptedKey. The NameID field must still be set for the Subject.
AddBinarySecretConfirmation
Method AddBinarySecretConfirmation(binarySecret As %SOAP.WST.BinarySecret) As %Status
Create SubjectConfirmation and associated KeyInfo for holder-of-key SubjectConfirmation based on BinarySecret. The NameID field must still be set for the Subject.