Interface SecurityService


public interface SecurityService
Date: 04/03/2010 Time: 15:00:53
  • Method Details

    • credentialsValid

      boolean credentialsValid(String user, String password)
      Deprecated.
      from 10.0 , replaced by credentialsValid(String, String, boolean) instead
      Check user credentials for non-interactive flow
      Parameters:
      user -
      password -
      Returns:
    • credentialsValid

      boolean credentialsValid(String user, String password, boolean isInteractive)
      Check user credentials
      Parameters:
      user -
      password -
      isInteractive - - specifies whether the flow is interactive
      Returns:
    • charArrayCredentialsValid

      boolean charArrayCredentialsValid(String user, char[] password, boolean isInteractive)
    • 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 server
      user -
      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 server
      user - the username
      password - the char array password
      isInteractive - 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 server
      user -
      password -
      isInteractive -
      customerId - optional, if customerId provided, only check the user in matched customer
      Returns:
    • getUserRepositoryServersName

      List<String> getUserRepositoryServersName()
      This will return all user repositories servers names.
      Returns:
      the list of configured repositories
    • setInitString

      void setInitString(String unencodedInitString, int customerId)
      This will set the new init string
      Parameters:
      unencodedInitString - : init string in plain text
    • setLWSSOXMLWithEncodedInitString

      void setLWSSOXMLWithEncodedInitString(String lwssoConfXml, int customerId)
      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 password
      sysadminPassword - sysadmin password
      uiSysadminPassword - uiSysadmin password
      cmUsername - username
      cmUserPassword - password
    • isFIPSModeEnabled

      boolean isFIPSModeEnabled()
      Returns:
      If fips mode is enabled return true else return false