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) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
char[] |
getPassword() |
String |
getUsername() |
int |
hashCode() |
String |
toString() |
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 © 2023 Jasig. All rights reserved.