|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.identity.saml2.protocol.ProtocolFactory
This is the factory class to obtain object instances for concrete elements in
the protocol schema. This factory class provides 3 methods for each element.
createElementName(),
createElementName(String value),
createElementName(org.w3c.dom.Element value).
| Method Summary | |
Artifact |
createArtifact(byte[] typecode,
int endpointIndex,
java.lang.String sourceID,
java.lang.String messageHandle)
Returns a new instance of Artifact. |
Artifact |
createArtifact(org.w3c.dom.Element elem)
Returns a new instance of Artifact. |
Artifact |
createArtifact(java.lang.String encodedArtifactValue)
Returns a new instance of Artifact. |
ArtifactResolve |
createArtifactResolve()
Returns a new instance of ArtifactResolve. |
ArtifactResolve |
createArtifactResolve(org.w3c.dom.Element elem)
Returns a new instance of ArtifactResolve. |
ArtifactResolve |
createArtifactResolve(java.lang.String xml)
Returns a new instance of ArtifactResolve. |
ArtifactResponse |
createArtifactResponse()
Returns a new instance of ArtifactResponse. |
ArtifactResponse |
createArtifactResponse(org.w3c.dom.Element elem)
Returns a new instance of ArtifactResponse. |
ArtifactResponse |
createArtifactResponse(java.lang.String xml)
Returns a new instance of ArtifactResponse. |
AuthnRequest |
createAuthnRequest()
Returns the AuthnRequest Object. |
AuthnRequest |
createAuthnRequest(org.w3c.dom.Element value)
Returns the AuthnRequest Object. |
AuthnRequest |
createAuthnRequest(java.lang.String value)
Returns the AuthnRequest Object. |
Extensions |
createExtensions()
Returns the Extensions Object. |
Extensions |
createExtensions(org.w3c.dom.Element value)
Returns the Extensions Object. |
Extensions |
createExtensions(java.lang.String value)
Returns the Extensions Object. |
GetComplete |
createGetComplete()
Returns the GetComplete Object. |
GetComplete |
createGetComplete(org.w3c.dom.Element value)
Returns the GetComplete Object. |
GetComplete |
createGetComplete(java.lang.String value)
Returns the GetComplete Object. |
IDPEntry |
createIDPEntry()
Returns the IDPEntry Object. |
IDPEntry |
createIDPEntry(org.w3c.dom.Element value)
Returns the IDPEntry Object. |
IDPEntry |
createIDPEntry(java.lang.String value)
Returns the IDPEntry Object. |
IDPList |
createIDPList()
Returns the IDPList Object. |
IDPList |
createIDPList(org.w3c.dom.Element value)
Returns the IDPList Object. |
IDPList |
createIDPList(java.lang.String value)
Returns the IDPList Object. |
LogoutRequest |
createLogoutRequest()
Returns the LogoutRequest Object. |
LogoutRequest |
createLogoutRequest(org.w3c.dom.Element value)
Returns the LogoutRequest Object. |
LogoutRequest |
createLogoutRequest(java.lang.String value)
Returns the LogoutRequest Object. |
LogoutResponse |
createLogoutResponse()
Returns the LogoutResponse Object. |
LogoutResponse |
createLogoutResponse(org.w3c.dom.Element value)
Returns the LogoutResponse Object. |
LogoutResponse |
createLogoutResponse(java.lang.String value)
Returns the LogoutResponse Object. |
ManageNameIDRequest |
createManageNameIDRequest()
Returns a mutable manage name identifier request object. |
ManageNameIDRequest |
createManageNameIDRequest(org.w3c.dom.Element value)
Returns an immutable manage name identifier request object. |
ManageNameIDRequest |
createManageNameIDRequest(java.lang.String value)
Returns an immutable manage name identifier request object. |
ManageNameIDResponse |
createManageNameIDResponse()
Returns a mutable manage name identifier response object. |
ManageNameIDResponse |
createManageNameIDResponse(org.w3c.dom.Element value)
Returns an immutable manage name identifier response object. |
ManageNameIDResponse |
createManageNameIDResponse(java.lang.String value)
Returns an immutable manage name identifier response object. |
NameIDPolicy |
createNameIDPolicy()
Returns the NameIDPolicy Object. |
NameIDPolicy |
createNameIDPolicy(org.w3c.dom.Element value)
Returns the NameIDPolicy Object. |
NameIDPolicy |
createNameIDPolicy(java.lang.String value)
Returns the NameIDPolicy Object. |
NewEncryptedID |
createNewEncryptedID(org.w3c.dom.Element value)
Returns an immutable new encrypted identifier object. |
NewEncryptedID |
createNewEncryptedID(java.lang.String value)
Returns an immutable new encrypted identifier object. |
NewID |
createNewID(org.w3c.dom.Element value)
Returns an new identifier object. |
NewID |
createNewID(java.lang.String value)
Returns an new identifier object. |
RequestedAuthnContext |
createRequestedAuthnContext()
Returns a mutable requested authentication context object. |
RequestedAuthnContext |
createRequestedAuthnContext(org.w3c.dom.Element value)
Returns an immutable requested authentication context object. |
RequestedAuthnContext |
createRequestedAuthnContext(java.lang.String value)
Returns an immutable requested authentication context object. |
RequesterID |
createRequesterID()
Returns the RequesterID Object. |
RequesterID |
createRequesterID(org.w3c.dom.Element value)
Returns the RequesterID Object. |
RequesterID |
createRequesterID(java.lang.String value)
Returns the RequesterID Object. |
Response |
createResponse()
Returns a new instance of Response. |
Response |
createResponse(org.w3c.dom.Element elem)
Returns a new instance of Response. |
Response |
createResponse(java.lang.String xml)
Returns a new instance of Response. |
Scoping |
createScoping()
Returns the Scoping Object. |
Scoping |
createScoping(org.w3c.dom.Element value)
Returns the Scoping Object. |
Scoping |
createScoping(java.lang.String value)
Returns the Scoping Object. |
SessionIndex |
createSessionIndex(java.lang.String value)
Returns the SessionIndex Object. |
Status |
createStatus()
Returns the Status Object. |
Status |
createStatus(org.w3c.dom.Element value)
Returns the Status Object. |
Status |
createStatus(java.lang.String value)
Returns the Status Object. |
StatusCode |
createStatusCode()
Returns the StatusCode Object. |
StatusCode |
createStatusCode(org.w3c.dom.Element value)
Returns the StatusCode Object. |
StatusCode |
createStatusCode(java.lang.String value)
Returns the StatusCode Object. |
StatusDetail |
createStatusDetail()
Returns the StatusDetail Object. |
StatusDetail |
createStatusDetail(org.w3c.dom.Element value)
Returns the StatusDetail Object. |
StatusDetail |
createStatusDetail(java.lang.String value)
Returns the StatusDetail Object. |
StatusMessage |
createStatusMessage(java.lang.String value)
Returns the StatusMessage Object. |
static ProtocolFactory |
getInstance()
Returns an instance of the ProtocolFactory Object. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static ProtocolFactory getInstance()
ProtocolFactory Object.
ProtocolFactory object.
public AuthnRequest createAuthnRequest()
throws SAML2Exception
AuthnRequest Object.
AuthnRequest object.
SAML2Exception - if AuthnRequest cannot be created.
public AuthnRequest createAuthnRequest(org.w3c.dom.Element value)
throws SAML2Exception
AuthnRequest Object.
value - the Document Element of AuthnRequest object.
AuthnRequest object.
SAML2Exception - if AuthnRequest cannot be created.
public AuthnRequest createAuthnRequest(java.lang.String value)
throws SAML2Exception
AuthnRequest Object.
value - AuthnRequest XML String.
AuthnRequest object.
SAML2Exception - if AuthnRequest cannot be created.
public Extensions createExtensions()
throws SAML2Exception
Extensions Object.
Extensions object.
SAML2Exception - if Extensions cannot be created.
public Extensions createExtensions(org.w3c.dom.Element value)
throws SAML2Exception
Extensions Object.
value - the Document Element of Extensions object.
Extensions object.
SAML2Exception - if Extensions cannot be created.
public Extensions createExtensions(java.lang.String value)
throws SAML2Exception
Extensions Object.
value - XML String Representation of Extensions
object.
Extensions object.
- Throws:
SAML2Exception - if Extensions cannot be created.
public GetComplete createGetComplete()
throws SAML2Exception
GetComplete Object.
GetComplete object.
SAML2Exception - if GetComplete cannot be created.
public GetComplete createGetComplete(org.w3c.dom.Element value)
throws SAML2Exception
GetComplete Object.
value - Document Element of GetComplete object.
GetComplete Object.
SAML2Exception - if GetComplete cannot be created.
public GetComplete createGetComplete(java.lang.String value)
throws SAML2Exception
GetComplete Object.
value - XML String representation of GetComplete
object.
GetComplete Object.
SAML2Exception - if GetComplete cannot be created.
public IDPEntry createIDPEntry()
throws SAML2Exception
IDPEntry Object.
IDPEntry object.
- Throws:
SAML2Exception - if IDPEntry cannot be created.
public IDPEntry createIDPEntry(org.w3c.dom.Element value)
throws SAML2Exception
IDPEntry Object.
value - Document Element of IDPEntry object.
- Returns:
- instance of
IDPEntry object.
- Throws:
SAML2Exception - if IDPEntry cannot be created.
public IDPEntry createIDPEntry(java.lang.String value)
throws SAML2Exception
IDPEntry Object.
value - XML Representation of the IDPEntry object.
- Returns:
- instance of
IDPEntry Object.
- Throws:
SAML2Exception - if IDPEntry cannot be created.
public IDPList createIDPList()
throws SAML2Exception
IDPList Object.
IDPList Object.
- Throws:
SAML2Exception - if IDPList cannot be created.
public IDPList createIDPList(org.w3c.dom.Element value)
throws SAML2Exception
IDPList Object.
value - Document Element of IDPList Object.
IDPList Object.
- Throws:
SAML2Exception - if IDPList cannot be created.
public IDPList createIDPList(java.lang.String value)
throws SAML2Exception
IDPList Object.
value - XML String Representation of IDPList Object.
IDPList Object.
SAML2Exception - if IDPList cannot be created.
public NameIDPolicy createNameIDPolicy()
throws SAML2Exception
NameIDPolicy Object.
NameIDPolicy Object.
SAML2Exception - if NameIDPolicy cannot be created.
public NameIDPolicy createNameIDPolicy(org.w3c.dom.Element value)
throws SAML2Exception
NameIDPolicy Object.
value - Document Element of NameIDPolicy Object.
NameIDPolicy Object.
SAML2Exception - if NameIDPolicy cannot be created.
public NameIDPolicy createNameIDPolicy(java.lang.String value)
throws SAML2Exception
NameIDPolicy Object.
value - XML String Representation of NameIDPolicy
object.
NameIDPolicy object.
SAML2Exception - if NameIDPolicy cannot be created.
public RequesterID createRequesterID()
throws SAML2Exception
RequesterID Object.
RequesterID Object.
SAML2Exception - if RequesterID cannot be created.
public RequesterID createRequesterID(org.w3c.dom.Element value)
throws SAML2Exception
RequesterID Object.
value - Document Element of RequesterID Object.
RequesterID Object.
SAML2Exception - if RequesterID cannot be created.
public RequesterID createRequesterID(java.lang.String value)
throws SAML2Exception
RequesterID Object.
value - XML String Representation of RequesterID
object.
RequesterID Object.
SAML2Exception - if RequesterID cannot be created.
public Scoping createScoping()
throws SAML2Exception
Scoping Object.
Scoping Object.
SAML2Exception - if Scoping cannot be created.
public Scoping createScoping(org.w3c.dom.Element value)
throws SAML2Exception
Scoping Object.
value - Document Element of Scoping Object.
Scoping Object.
SAML2Exception - if Scoping cannot be created.
public Scoping createScoping(java.lang.String value)
throws SAML2Exception
Scoping Object.
value - XML String Representation of Scoping Object.
Scoping Object.
SAML2Exception - if Scoping cannot be created.
public RequestedAuthnContext createRequestedAuthnContext()
throws SAML2Exception
RequestedAuthnContext object.
SAML2Exception - if it failed to instantiate the object.
public RequestedAuthnContext createRequestedAuthnContext(org.w3c.dom.Element value)
throws SAML2Exception
value - DOM element representing requested authentication
context object.
SAML2Exception - if it failed to instantiate the object.
public RequestedAuthnContext createRequestedAuthnContext(java.lang.String value)
throws SAML2Exception
value - XML string representing requested authentication
context object.
SAML2Exception - if it failed to instantiate the object.public ManageNameIDRequest createManageNameIDRequest()
ManageNameIDRequest object.
public ManageNameIDRequest createManageNameIDRequest(org.w3c.dom.Element value)
throws SAML2Exception
value - DOM element representing ManageNameIDRequest
object.
SAML2Exception - if it failed to instantiate the object.
public ManageNameIDRequest createManageNameIDRequest(java.lang.String value)
throws SAML2Exception
value - XML string representing ManageNameIDRequest
object.
SAML2Exception - if it failed to instantiate the object.public ManageNameIDResponse createManageNameIDResponse()
ManageNameIDResponse object.
public ManageNameIDResponse createManageNameIDResponse(org.w3c.dom.Element value)
throws SAML2Exception
value - DOM element representing ManageNameIDResponse
object.
SAML2Exception - if it failed to instantiate the object.
public ManageNameIDResponse createManageNameIDResponse(java.lang.String value)
throws SAML2Exception
value - XML String representing ManageNameIDResponse
object.
SAML2Exception - if it failed to instantiate the object.
public NewID createNewID(org.w3c.dom.Element value)
throws SAML2Exception
value - DOM element representing NewID
object.
SAML2Exception - if it failed to instantiate the object.
public NewID createNewID(java.lang.String value)
throws SAML2Exception
value - of the NewID.
- Returns:
- an immutable requested authentication context object.
- Throws:
SAML2Exception - if it failed to instantiate the object.
public NewEncryptedID createNewEncryptedID(org.w3c.dom.Element value)
throws SAML2Exception
value - DOM element representing NewEncryptedID
object.
SAML2Exception - if it failed to instantiate the object.
public NewEncryptedID createNewEncryptedID(java.lang.String value)
throws SAML2Exception
value - XML String representing NewEncryptedID
object.
SAML2Exception - if it failed to instantiate the object.public LogoutRequest createLogoutRequest()
LogoutRequest Object.
LogoutRequest object.
public LogoutRequest createLogoutRequest(org.w3c.dom.Element value)
throws SAML2Exception
LogoutRequest Object. This object will be
immutable.
value - the org.w3c.dom.Element object representing the
LogoutRequest object.
LogoutRequest object.
SAML2Exception - if it fails to instantiate the object.
public LogoutRequest createLogoutRequest(java.lang.String value)
throws SAML2Exception
LogoutRequest Object. This object will be
immutable.
value - the String representing the
LogoutRequest object.
LogoutRequest object.
SAML2Exception - if it fails to instantiate the object.public LogoutResponse createLogoutResponse()
LogoutResponse Object.
LogoutResponse object.
public LogoutResponse createLogoutResponse(org.w3c.dom.Element value)
throws SAML2Exception
LogoutResponse Object. This object will be
immutable.
value - the org.w3c.dom.Element representing the
LogoutResponse object.
LogoutResponse object.
SAML2Exception - if it fails to instantiate the object.
public LogoutResponse createLogoutResponse(java.lang.String value)
throws SAML2Exception
LogoutResponse Object. This object will be
immutable.
value - the String representing the
LogoutResponse object.
LogoutResponse object.
SAML2Exception - if it fails to instantiate the object.
public Status createStatus()
throws SAML2Exception
Status Object.
Status object.
SAML2Exception - if it fails to instantiate the object.
public Status createStatus(org.w3c.dom.Element value)
throws SAML2Exception
Status Object. This object will be
immutable.
value - the org.w3c.dom.Element representing the
Status object.
Status object.
SAML2Exception - if it fails to instantiate the object.
public Status createStatus(java.lang.String value)
throws SAML2Exception
Status Object. This object will be
immutable.
value - the String representing the
Status object.
Status object.
SAML2Exception - if it fails to instantiate the object.
public StatusCode createStatusCode()
throws SAML2Exception
StatusCode Object.
StatusCode object.
SAML2Exception - if it fails to instantiate the object.
public StatusCode createStatusCode(org.w3c.dom.Element value)
throws SAML2Exception
StatusCode Object. This object will be
immutable.
value - the org.w3c.dom.Element representing the
StatusCode object.
StatusCode object.
SAML2Exception - if it fails to instantiate the object.
public StatusCode createStatusCode(java.lang.String value)
throws SAML2Exception
StatusCode Object. This object will be
immutable.
value - the String representing the
StatusCode object.
StatusCode object.
SAML2Exception - if it fails to instantiate the object.
public StatusDetail createStatusDetail()
throws SAML2Exception
StatusDetail Object.
StatusDetail object.
SAML2Exception - if it fails to instantiate the object.
public StatusDetail createStatusDetail(org.w3c.dom.Element value)
throws SAML2Exception
StatusDetail Object. This object will be
immutable.
value - the org.w3c.dom.Element representing the
StatusDetail object.
StatusDetail object.
SAML2Exception - if it fails to instantiate the object.
public StatusDetail createStatusDetail(java.lang.String value)
throws SAML2Exception
StatusDetail Object. This object will be
immutable.
value - the String representing the
StatusDetail object.
StatusDetail object.
SAML2Exception - if it fails to instantiate the object.public StatusMessage createStatusMessage(java.lang.String value)
StatusMessage Object.
value - A String StatusMessage value
StatusMessage object.public SessionIndex createSessionIndex(java.lang.String value)
SessionIndex Object.
value - A String SessionIndex value
SessionIndex object.
public Artifact createArtifact(byte[] typecode,
int endpointIndex,
java.lang.String sourceID,
java.lang.String messageHandle)
throws SAML2Exception
Artifact.
typecode - two byte sequence representing TypeCode.endpointIndex - integer value representing
EndpointIndex.sourceID - String format of 20-byte sequence. Usually obtained
from taking the SHA-1 hash of the identification URL (called
provider ID).messageHandle - String format of 20-byte sequence identifying
a message. This value is constructed from a cryptographically
strong random or pseudorandom number sequence.
Artifact.
SAML2Exception - if it fails to instantiate the object.
public Artifact createArtifact(org.w3c.dom.Element elem)
throws SAML2Exception
Artifact.
The return object is immutable.
elem - an Element representation of
Artifact.
Artifact.
SAML2Exception - if error occurs while processing the
Element.
public Artifact createArtifact(java.lang.String encodedArtifactValue)
throws SAML2Exception
Artifact.
The return object is immutable.
encodedArtifactValue - Artifact Base64 encoded String.
Artifact.
SAML2Exception - if error occurs while processing the XML string.public ArtifactResolve createArtifactResolve()
ArtifactResolve.
Caller may need to call setters of the class to populate the object.
ArtifactResolve.
public ArtifactResolve createArtifactResolve(org.w3c.dom.Element elem)
throws SAML2Exception
ArtifactResolve.
The return object is immutable.
elem - an Element representation of
ArtifactResolve.
ArtifactResolve.
SAML2Exception - if error occurs
while processing the Element.
public ArtifactResolve createArtifactResolve(java.lang.String xml)
throws SAML2Exception
ArtifactResolve.
The return object is immutable.
xml - a XML String representation of ArtifactResolve.
ArtifactResolve.
SAML2Exception - if error occurs while processing the XML string.public ArtifactResponse createArtifactResponse()
ArtifactResponse.
Caller may need to call setters of the class to populate the object.
ArtifactResponse.
public ArtifactResponse createArtifactResponse(org.w3c.dom.Element elem)
throws SAML2Exception
ArtifactResponse.
The return object is immutable.
elem - an Element representing
ArtifactResponse.
ArtifactResponse.
SAML2Exception - if error occurs
while processing the Element.
public ArtifactResponse createArtifactResponse(java.lang.String xml)
throws SAML2Exception
ArtifactResponse.
The return object is immutable.
xml - a XML String representation of ArtifactResponse.
ArtifactResponse.
SAML2Exception - if error occurs
while processing the XML string.public Response createResponse()
Response.
Caller may need to call setters of the class to populate the object.
Response.
public Response createResponse(org.w3c.dom.Element elem)
throws SAML2Exception
Response.
The return object is immutable.
elem - an Element representation of
Response.
Response.
SAML2Exception - if error occurs
while processing the Element.
public Response createResponse(java.lang.String xml)
throws SAML2Exception
Response.
The return object is immutable.
xml - a XML String representation of Response.
Response.
SAML2Exception - if error occurs while processing the XML string.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||