Package com.hp.ucmdb.api.security
Interface SecurityService
public interface SecurityService
Date: 04/03/2010
Time: 15:00:53
-
Method Summary
Modifier and TypeMethodDescriptionboolean
charArrayCredentialsValid
(String user, char[] password, boolean isInteractive) 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.boolean
credentialsValid
(String user, String password, boolean isInteractive) Check user credentialsboolean
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) This will return all user repositories servers names.boolean
void
setInitString
(String unencodedInitString, int customerId) This will set the new init stringvoid
setLWSSOXMLWithEncodedInitString
(String lwssoConfXml, int customerId)
-
Method Details
-
credentialsValid
Deprecated.from 10.0 , replaced bycredentialsValid(String, String, boolean)
insteadCheck user credentials for non-interactive flow- Parameters:
user
-password
-- Returns:
-
credentialsValid
Check user credentials- Parameters:
user
-password
-isInteractive
- - specifies whether the flow is interactive- Returns:
-
charArrayCredentialsValid
-
credentialsValid
boolean credentialsValid(String user, String password, boolean isInteractive, String userRepositoryName) Check user credentials on the specified user repository server. If the server is not specified all the servers will be parsed.- Parameters:
userRepositoryName
- the host name of the user repository serveruser
-password
-isInteractive
-- Returns:
-
charArrayCredentialsValid
boolean charArrayCredentialsValid(String user, char[] password, boolean isInteractive, String userRepositoryName) Check user credentials on the specified user repository server. If the server is not specified all the servers will be parsed.- Parameters:
userRepositoryName
- the host name of the user repository serveruser
- the usernamepassword
- the char array passwordisInteractive
- boolean which indicated if the user is inactive or not- Returns:
- true if the credentials are valid, false otherwise
-
credentialsValid
boolean credentialsValid(String user, String password, boolean isInteractive, String userRepositoryName, Integer customerId) Check user credentials on the specified user repository server. If the server is not specified all the servers will be parsed.- Parameters:
userRepositoryName
- the host name of the user repository serveruser
-password
-isInteractive
-customerId
- optional, if customerId provided, only check the user in matched customer- Returns:
-
getUserRepositoryServersName
This will return all user repositories servers names.- Returns:
- the list of configured repositories
-
setInitString
This will set the new init string- Parameters:
unencodedInitString
- : init string in plain text
-
setLWSSOXMLWithEncodedInitString
- Parameters:
lwssoConfXml
- : config XML of LWSSO in which the init-string is encoded
-
enableFIPSMode
void enableFIPSMode(String adminPassword, String sysadminPassword, String uiSysadminPassword, String cmUsername, String cmUserPassword) - Parameters:
adminPassword
-sysadminPassword
-uiSysadminPassword
-cmUsername
-cmUserPassword
-
-
enableFIPSMode
void enableFIPSMode(char[] adminPassword, char[] sysadminPassword, char[] uiSysadminPassword, String cmUsername, char[] cmUserPassword) - Parameters:
adminPassword
- admin passwordsysadminPassword
- sysadmin passworduiSysadminPassword
- uiSysadmin passwordcmUsername
- usernamecmUserPassword
- password
-
isFIPSModeEnabled
boolean isFIPSModeEnabled()- Returns:
- If fips mode is enabled return true else return false
-
credentialsValid(String, String, boolean)
instead