public class SecurityConfigParams extends Object
| Constructor and Description |
|---|
SecurityConfigParams() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAllowedRoles()
Get authorized roles
|
String |
getKeyAlias()
Get the private key alias
If the key alias is defined in the Security configuration take it from there otherwise
key alias is taken from the Server Configuration
|
String |
getPrivateStore()
Get the private key store
If the key store is defined in the Security configuration take it from there otherwise
key store is taken from the Server Configuration
|
String |
getServerPrincipalPassword()
Get the server principal password for kerberos authentication
|
String |
getTrustStores()
Get trusted stores
|
boolean |
isServerPrincipalPasswordEncrypted()
Whether server principal password for kerberos authentication is encrypted
If the parameter is not set, default value is true
|
void |
setAllowedRoles(String allowedRoles)
Set authorized roles
|
void |
setKeyAlias(String keyAlias)
Set the private key alias
|
void |
setPrivateStore(String privateStore)
Set the private store
|
void |
setServerPrincipalPassword(String serverPrincipalPassword)
Set the server principal password for kerberos authentication
|
void |
setServerPrincipalPasswordEncrypted(boolean isServerPrincipalPasswordEncrypted)
Set server principal password for kerberos authentication is encrypted or not
|
void |
setTrustStores(String trustStores)
Set the trusted stores
|
public String getPrivateStore()
public void setPrivateStore(String privateStore)
privateStore - private storepublic String getTrustStores()
public void setTrustStores(String trustStores)
trustStores - trusted stores as comma separated valuepublic String getAllowedRoles()
public void setAllowedRoles(String allowedRoles)
allowedRoles - authorized roles as a comma separated valuepublic String getKeyAlias()
public void setKeyAlias(String keyAlias)
keyAlias - key aliaspublic String getServerPrincipalPassword()
public void setServerPrincipalPassword(String serverPrincipalPassword)
serverPrincipalPassword - server principal passwordpublic boolean isServerPrincipalPasswordEncrypted()
public void setServerPrincipalPasswordEncrypted(boolean isServerPrincipalPasswordEncrypted)
isServerPrincipalPasswordEncrypted - whether server principal password is encryptedCopyright © 2020 WSO2. All rights reserved.