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

java.lang.Object
  |
  +--com.sun.identity.liberty.ws.authnsvc.protocol.Transform
        |
        +--com.sun.identity.liberty.ws.authnsvc.protocol.TruncationTransform

public class TruncationTransform
extends Transform

The TruncationTransform class represents a Transform that remove all subsequent characters after a given number of characters have been obtained.


Fields inherited from class com.sun.identity.liberty.ws.authnsvc.protocol.Transform
LOWERCASE_URI, SELECT_URI, TRUNCATION_URI, UPPERCASE_URI
 
Constructor Summary
TruncationTransform()
          This is the default constructor.
TruncationTransform(int length)
          This constructor takes length
 
Method Summary
 java.lang.String transform(java.lang.String password)
          Transforms password.
 
Methods inherited from class com.sun.identity.liberty.ws.authnsvc.protocol.Transform
getId, getName, getParameters, setId, setParameters
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TruncationTransform

public TruncationTransform()
This is the default constructor.

TruncationTransform

public TruncationTransform(int length)
This constructor takes length
Parameters:
length - all subsequent characters after the length will be removed
Method Detail

transform

public java.lang.String transform(java.lang.String password)
Transforms password.
Overrides:
transform in class Transform
Parameters:
password - original password
Returns:
transformed password


Copyright 2005 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.