public interface SecurityService
Modifier and Type | Method and Description |
---|---|
boolean |
charArrayCredentialsValid(String user,
char[] password,
boolean isInteractive,
String userRepositoryName)
Check user credentials on the specified user repository server.
|
boolean |
credentialsValid(String user,
String password)
Deprecated.
from 10.0 , replaced by
credentialsValid(String, String, boolean) instead |
boolean |
credentialsValid(String user,
String password,
boolean isInteractive)
Check user credentials
|
boolean |
credentialsValid(String user,
String password,
boolean isInteractive,
String userRepositoryName)
Check user credentials on the specified user repository server.
|
boolean |
credentialsValid(String user,
String password,
boolean isInteractive,
String userRepositoryName,
Integer customerId)
Check user credentials on the specified user repository server.
|
void |
enableFIPSMode(char[] adminPassword,
char[] sysadminPassword,
char[] uiSysadminPassword,
String cmUsername,
char[] cmUserPassword) |
void |
enableFIPSMode(String adminPassword,
String sysadminPassword,
String uiSysadminPassword,
String cmUsername,
String cmUserPassword) |
List<String> |
getUserRepositoryServersName()
This will return all user repositories servers names.
|
boolean |
isFIPSModeEnabled() |
void |
setInitString(String unencodedInitString,
int customerId)
This will set the new init string
|
void |
setLWSSOXMLWithEncodedInitString(String lwssoConfXml,
int customerId) |
boolean credentialsValid(String user, String password)
credentialsValid(String, String, boolean)
insteaduser
- password
- boolean credentialsValid(String user, String password, boolean isInteractive)
user
- password
- isInteractive
- - specifies whether the flow is interactiveboolean credentialsValid(String user, String password, boolean isInteractive, String userRepositoryName)
userRepositoryName
- the host name of the user repository serveruser
- password
- isInteractive
- boolean charArrayCredentialsValid(String user, char[] password, boolean isInteractive, String userRepositoryName)
userRepositoryName
- the host name of the user repository serveruser
- the usernamepassword
- the char array passwordisInteractive
- boolean which indicated if the user is inactive or notboolean credentialsValid(String user, String password, boolean isInteractive, String userRepositoryName, Integer customerId)
userRepositoryName
- the host name of the user repository serveruser
- password
- isInteractive
- customerId
- optional, if customerId provided, only check the user in matched customerList<String> getUserRepositoryServersName()
void setInitString(String unencodedInitString, int customerId)
unencodedInitString:
- init string in plain textvoid setLWSSOXMLWithEncodedInitString(String lwssoConfXml, int customerId)
lwssoConfXml:
- config XML of LWSSO in which the init-string is encodedvoid enableFIPSMode(String adminPassword, String sysadminPassword, String uiSysadminPassword, String cmUsername, String cmUserPassword)
adminPassword
- sysadminPassword
- uiSysadminPassword
- cmUsername
- cmUserPassword
- void enableFIPSMode(char[] adminPassword, char[] sysadminPassword, char[] uiSysadminPassword, String cmUsername, char[] cmUserPassword)
adminPassword
- admin passwordsysadminPassword
- sysadmin passworduiSysadminPassword
- uiSysadmin passwordcmUsername
- usernamecmUserPassword
- passwordboolean isFIPSModeEnabled()