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.
 
 
| Method Summary | 
|  java.lang.String | transform(java.lang.String password)Transforms password.
 | 
 
 
| Methods inherited from class java.lang.Object | 
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
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
 
transform
public java.lang.String transform(java.lang.String password)
- Transforms password.- 
- Overrides:
- transformin class- Transform
 
- 
- Parameters:
- password- original password
- Returns:
- transformed password
 
Copyright 2005 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.