com.sun.identity.liberty.ws.authnsvc.protocol
Class SelectTransform
java.lang.Object
com.sun.identity.liberty.ws.authnsvc.protocol.Transform
com.sun.identity.liberty.ws.authnsvc.protocol.SelectTransform
public class SelectTransform
- extends Transform
The SelectTransform
class represents a Transform
that removes all characters except those specified in the "allowed"
parameter.
SelectTransform
public SelectTransform()
- This is the default constructor.
SelectTransform
public SelectTransform(String allowed)
- Constructs
SelectTransform
with allowed characters.
- Parameters:
allowed
- all characters except specified in 'allowed' will be
removed
transform
public String transform(String password)
- Transforms password.
- Specified by:
transform
in class Transform
- Parameters:
password
- original password
- Returns:
- transformed password