|
PicketLink Federation Core 2.1.6.Final-redhat-2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.picketlink.identity.federation.core.saml.v2.util.StatementUtil
public class StatementUtil
Deals with SAML2 Statements
Field Summary | |
---|---|
static QName |
X500_QNAME
|
Constructor Summary | |
---|---|
StatementUtil()
|
Method Summary | |
---|---|
static AttributeStatementType |
createAttributeStatement(List<String> roles)
Given a set of roles, create an attribute statement |
static AttributeStatementType |
createAttributeStatement(Map<String,Object> attributes)
Create an attribute statement with all the attributes |
static AttributeStatementType |
createAttributeStatement(String key,
String value)
Given an attribute type and a value, create AttributeStatementType |
static AuthnStatementType |
createAuthnStatement(XMLGregorianCalendar instant,
String authnContextClassRefValue)
Create an AuthnStatementType given the issue instant and the type of authentication |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final QName X500_QNAME
Constructor Detail |
---|
public StatementUtil()
Method Detail |
---|
public static AuthnStatementType createAuthnStatement(XMLGregorianCalendar instant, String authnContextClassRefValue)
instant
- an instanceof XMLGregorianCalendar
authnContextClassRefValue
- indicate the type of authentication performed
AuthnStatementType
public static AttributeStatementType createAttributeStatement(Map<String,Object> attributes)
attributes
- a map with keys from AttributeConstants
public static AttributeStatementType createAttributeStatement(List<String> roles)
roles
-
public static AttributeStatementType createAttributeStatement(String key, String value)
AttributeStatementType
key
- attribute typevalue
- attribute value
|
PicketLink Federation Core 2.1.6.Final-redhat-2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |