com.sun.identity.liberty.ws.authnsvc.protocol
Class SelectTransform

java.lang.Object
  extended by com.sun.identity.liberty.ws.authnsvc.protocol.Transform
      extended by 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.


Field Summary
 
Fields inherited from class com.sun.identity.liberty.ws.authnsvc.protocol.Transform
id, LOWERCASE_URI, name, parameters, SELECT_URI, TRUNCATION_URI, UPPERCASE_URI
 
Constructor Summary
SelectTransform()
          This is the default constructor.
SelectTransform(String allowed)
          Constructs SelectTransform with allowed characters.
 
Method Summary
 String transform(String password)
          Transforms password.
 
Methods inherited from class com.sun.identity.liberty.ws.authnsvc.protocol.Transform
getId, getName, getParameters, setId, setParameters
 

Constructor Detail

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
Method Detail

transform

public String transform(String password)
Transforms password.

Specified by:
transform in class Transform
Parameters:
password - original password
Returns:
transformed password