|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.identity.saml.protocol.Query
com.sun.identity.saml.protocol.SubjectQuery
com.sun.identity.saml.protocol.AuthenticationQuery
This concrete class extends from the abstract base class
SubjectQuery.
It represents the query for an authentication assertion. It corresponds
to the <samlp:AuthenticationQueryType> in the SAML
protocol schema.
| Field Summary |
| Fields inherited from class com.sun.identity.saml.protocol.Query |
ATTRIBUTE_QUERY, AUTHENTICATION_QUERY, AUTHORIZATION_DECISION_QUERY, NOT_SUPPORTED_QUERY |
| Constructor Summary | |
AuthenticationQuery(org.w3c.dom.Element element)
This constructor is used to build an Authentication Query from a DOM tree that was built from the XML string. |
|
AuthenticationQuery(Subject subject)
Constructor. |
|
AuthenticationQuery(Subject subject,
java.lang.String authMethod)
Constructor. |
|
| Method Summary | |
java.lang.String |
getAuthenticationMethod()
Returns the AuthenticationMethod. |
int |
getQueryType()
Returns the type of this query. |
java.lang.String |
toString()
Translates the AuthenticationQuery to an XML document
String based on the AuthenticationQuery schema described
above. |
java.lang.String |
toString(boolean includeNS,
boolean declareNS)
Creates a String representation of the |
| Methods inherited from class com.sun.identity.saml.protocol.SubjectQuery |
getSubject |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public AuthenticationQuery(org.w3c.dom.Element element)
throws SAMLException
element - the DOM tree element which contains an Authentication
Query.
SAMLException - when an error occurs.
public AuthenticationQuery(Subject subject,
java.lang.String authMethod)
throws SAMLException
subject - the Subject of the AuthenticationQuery.authMethod - the AuthenticationMethod in string
format. It could be null.
SAMLException
public AuthenticationQuery(Subject subject)
throws SAMLException
subject - The Subject of the AuthenticationQuery.
SAMLException| Method Detail |
public java.lang.String getAuthenticationMethod()
AuthenticationMethod.
AuthenticationMethod in string format; or null
if there is none.public int getQueryType()
getQueryType in class QueryQuery.AUTHENTICATION_QUERY.public java.lang.String toString()
AuthenticationQuery to an XML document
String based on the AuthenticationQuery schema described
above.
AuthenticationQuery.
public java.lang.String toString(boolean includeNS,
boolean declareNS)
toString in class QueryincludeNS - Determines whether or not the namespace qualifier
is prepended to the Element when converteddeclareNS - Determines whether or not the namespace is declared
within the Element.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||