public class SchemaUtils extends Object
Modifier and Type | Class and Description |
---|---|
static class |
SchemaUtils.PasswordType
Represents a password type, including a "not a password" value.
|
Modifier and Type | Method and Description |
---|---|
static SchemaUtils.PasswordType |
checkPasswordType(AttributeType attrType)
Checks if the provided attribute type contains a password.
|
static Collection<String> |
getNameOrOIDsForATs(Collection<AttributeType> attributeTypes)
Returns a new collection with the result of calling
AttributeType.getNameOrOID() on
each element of the provided collection. |
static Collection<String> |
getNameOrOIDsForOCs(Collection<ObjectClass> objectClasses)
Returns a new collection with the result of calling
ObjectClass.getNameOrOID() on each
element of the provided collection. |
public static SchemaUtils.PasswordType checkPasswordType(AttributeType attrType)
attrType
- The attribute type to check.public static Collection<String> getNameOrOIDsForOCs(Collection<ObjectClass> objectClasses)
ObjectClass.getNameOrOID()
on each
element of the provided collection.objectClasses
- the schema elements on which to actpublic static Collection<String> getNameOrOIDsForATs(Collection<AttributeType> attributeTypes)
AttributeType.getNameOrOID()
on
each element of the provided collection.attributeTypes
- the schema elements on which to actCopyright 2010-2017 ForgeRock AS.