public final class SecureRequestCredentials extends Object implements Serializable
getPassword()
returns the plain-text password. The intent is to prevent accidental exposure via serialization, toString or other similar approach.
| Constructor and Description |
|---|
SecureRequestCredentials(String username,
char[] password) |
public SecureRequestCredentials(String username, char[] password)
username - Username to storepassword - Password to store, the array will be filled with empty strings before this constructor returnspublic String getUsername()
public char[] getPassword()
Copyright © 2015 Jasig. All Rights Reserved.