|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.novell.service.security.Password
This class is a holder for passwords.
Note: Using passwords directly limits the application's ability to use alternative sources of tokens, including smart cards, etc. Thus, use of this class and the related interfaces will limit the application functionality with new authentication features.
PasswordIdentity
Constructor Summary | |
Password(byte[] passwordBytes)
Construct a password from raw bytes. |
|
Password(java.lang.String password)
Construct a password using a String. |
Method Summary | |
void |
convertToUpperCase()
|
java.lang.String |
getRaw()
Return a raw version of the password. |
void |
setPassword(Password passwordObj)
Set the password to equal another using a Password. |
java.lang.String |
toString()
Return the hash of the password string rather than the actual string. |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public Password(java.lang.String password)
password
- The string to use for the password.public Password(byte[] passwordBytes)
passwordBytes
- the bytes for the password.exclude
- Method Detail |
public void setPassword(Password passwordObj)
passwordObj
- The Password object to use for the password.public java.lang.String toString()
public java.lang.String getRaw()
This is intended for use by JNI code and should not be used by the application.
public void convertToUpperCase()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |