public class StatementUtil extends Object
| Modifier and Type | Field and Description |
|---|---|
static QName |
X500_QNAME |
| Constructor and Description |
|---|
StatementUtil() |
| Modifier and Type | Method and Description |
|---|---|
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
|
public static final QName X500_QNAME
public static AuthnStatementType createAuthnStatement(XMLGregorianCalendar instant, String authnContextClassRefValue)
instant - an instanceof XMLGregorianCalendarauthnContextClassRefValue - indicate the type of authentication performedAuthnStatementTypepublic static AttributeStatementType createAttributeStatement(Map<String,Object> attributes)
attributes - a map with keys from AttributeConstantspublic static AttributeStatementType createAttributeStatement(List<String> roles)
roles - public static AttributeStatementType createAttributeStatement(String key, String value)
AttributeStatementTypekey - attribute typevalue - attribute valueCopyright © 2012 JBoss by Red Hat. All Rights Reserved.