|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object issrg.utils.handler.Interpreter
public class Interpreter
this class is used to interpret a ws-trust request.
Field Summary | |
---|---|
static int |
INDETERMINATE
|
static int |
PULL
|
static int |
PULLPUSH
|
static int |
PUSH
|
Constructor Summary | |
---|---|
Interpreter(org.w3c.dom.Node contextIn)
Creates a new instance of Interpreter |
Method Summary | |
---|---|
AttributeStatement[] |
getAttributeStatements(org.w3c.dom.Node assertion)
this method returns a set of AttributeStatement objects by given a SAML assertion. |
java.lang.String |
getContextRef()
|
int |
getModel()
|
protected org.w3c.dom.Node |
getSamlAssertion()
|
java.lang.String[] |
getSubAttrRefs(org.w3c.dom.Node assertion)
this method returns a set of URLs from a |
java.lang.String |
getSubjectDN(org.w3c.dom.Node assertion)
return a valid subject DN; otherwise an empty string is returned |
static boolean |
isTheSameDN(java.lang.String n1,
java.lang.String n2)
returns true if two DNs are identical. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static int PUSH
public static int PULL
public static int PULLPUSH
public static int INDETERMINATE
Constructor Detail |
---|
public Interpreter(org.w3c.dom.Node contextIn)
Method Detail |
---|
public int getModel()
protected org.w3c.dom.Node getSamlAssertion()
public java.lang.String getSubjectDN(org.w3c.dom.Node assertion)
assertion
- is a SAML assertionpublic java.lang.String getContextRef()
public AttributeStatement[] getAttributeStatements(org.w3c.dom.Node assertion)
assertion
- is the SAML assertionpublic java.lang.String[] getSubAttrRefs(org.w3c.dom.Node assertion)
assertion
- is the SAML assertionpublic static boolean isTheSameDN(java.lang.String n1, java.lang.String n2)
n1,
- the first string dn.n2,
- the second string dn.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |