org.jboss.security.identity
Class AttributeFactory
java.lang.Object
org.jboss.security.identity.AttributeFactory
public class AttributeFactory
- extends Object
Creates Attributes
- Author:
- Anil.Saldhana@redhat.com
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AttributeFactory
public AttributeFactory()
createAttribute
public static <T> Attribute<T> createAttribute(String name,
T value)
- Create an attribute
- Type Parameters:
T
- - Parameters:
name
- value
-
- Returns:
createEmailAddress
public static Attribute<String> createEmailAddress(String emailAddress)
- Create an email attribute
- Parameters:
emailAddress
-
- Returns:
Copyright © 2012 JBoss Inc.. All Rights Reserved.