Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.novell.nds.dirxml.util.mail
Class SMTPPassword

    java.lang.Object
      com.novell.nds.dirxml.util.mail.SMTPPassword

    public class SMTPPassword

extends Object

Field Summary
`static String` | `PWD_ENCODE_MARKER`

Constructor Summary
`SMTPPassword()`

Method Summary
`static String` | `decode(String pwd)` Decodes an encoded password.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### PWD_ENCODE_MARKER

    public static final String PWD_ENCODE_MARKER

See Also:
  Constant Field Values

Constructor Detail

### SMTPPassword

    public SMTPPassword()

Method Detail

### decode

    public static String decode(String pwd)

  Decodes an encoded password. If the password isn't encoded, the original input String is returned. Encoded passwords are of the form: ^[]BCAEFDG First, the marker is stripped of resulting in: BCAEFDG Then, the bytes are shifted resulting in: ABCDEFG Finally, this is base64 decoded and the resultant String is returned.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD