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()
          Initializes the security configuration with the given configuration properties set.
 

Method Detail

initialize

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

Throws:
java.lang.SecurityException - 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.