Copyright© 2008-2022 Sitevision AB, all rights reserved.
public class Secret extends Object implements Serializable
SecretStore,
Serialized Form| Constructor and Description |
|---|
Secret(String aPrincipal,
char[] aCredentials)
Creates a secret.
|
| Modifier and Type | Method and Description |
|---|---|
char[] |
getCredentials()
Gets the credentials of this secret.
|
String |
getPrincipal()
Gets the principal of this secret.
|
void |
setCredentials(char[] aCredentials)
Sets the credentials of this secret.
|
void |
setPrincipal(String aPrincipal)
Sets the principal of this secret.
|
public Secret(String aPrincipal, char[] aCredentials)
aPrincipal - a principal, usernameaCredentials - credentialspublic String getPrincipal()
public void setPrincipal(String aPrincipal)
aPrincipal - a principalpublic char[] getCredentials()
public void setCredentials(char[] aCredentials)
aCredentials - the credentialsSitevision - Portal and Content Management Made Easy
Sitevision is an advanced Java enterprise portal product and a portlet container (JSR 286) that implements Java Content Repository (JSR 283).
Copyright© 2008-2022 Sitevision AB, all rights reserved.