public abstract class Transform extends Object
Transform
class represents 'Transform' element in
'PasswordTransforms' element defined in Authentication Service schema.Modifier and Type | Field and Description |
---|---|
protected String |
id |
static String |
LOWERCASE_URI
Lowercase Transform name.
|
protected String |
name |
protected List |
parameters |
static String |
SELECT_URI
Select Transform name.
|
static String |
TRUNCATION_URI
Truncation Transform name.
|
static String |
UPPERCASE_URI
Uppercase Transform name.
|
Constructor and Description |
---|
Transform() |
Modifier and Type | Method and Description |
---|---|
String |
getId()
Returns value of 'id' attribute.
|
String |
getName()
Returns value of 'name' attribute.
|
List |
getParameters()
Returns a list of 'Parameter' child element.
|
void |
setId(String id)
Sets value of 'id' attribute.
|
void |
setParameters(List parameters)
Sets a list of 'Parameter' child element.
|
abstract String |
transform(String password)
Transforms password.
|
public static final String TRUNCATION_URI
public static final String LOWERCASE_URI
public static final String UPPERCASE_URI
public static final String SELECT_URI
protected List parameters
public Transform()
public abstract String transform(String password)
password
- original passwordpublic String getName()
public String getId()
Transform.setId(String)
public List getParameters()
Transform.setParameters(List)
public void setId(String id)
id
- value of 'id' attributeTransform.getId()
public void setParameters(List parameters)
parameters
- a list of 'Parameter' child elementTransform.getParameters()
Copyright © 2010-2013, ForgeRock All Rights Reserved.