ca.bc.gov.webade.user.security.enterprise
Interface SecurityConfiguration


public interface SecurityConfiguration

Author:
jross

Method Summary
 UserCredentials identifyUser(javax.servlet.http.HttpServletRequest request)
          Identifies the authenticated user from the request.
 void initialize(java.util.Properties properties)
          Initializes the security configuration with the given configuration properties set.
 

Method Detail

initialize

public void initialize(java.util.Properties properties)
                throws java.lang.Exception
Initializes the security configuration with the given configuration properties set.

Parameters:
properties - A set of implementation-specific initialization settings.
Throws:
java.lang.Exception - Thrown if the configuration fails on initialization.

identifyUser

public UserCredentials identifyUser(javax.servlet.http.HttpServletRequest request)
                             throws java.lang.SecurityException
Identifies the authenticated user from the request.

Parameters:
request - The incoming web request.
Returns:
The user credentials loaded by the specific security configuration.
Throws:
java.lang.SecurityException - Thrown if the request details do not conform to the requirements of the specific security configuration.