com.bea.netuix.security
Interface ISecurityTokenManager


public interface ISecurityTokenManager

ISecurityTokenManager is an interface that defines how the Security Token feature of WebLogic Portal works. Implementing this interface allows you to define how security tokens are validated per request. The implemented interface is then referenced in the webapp's netuix-config.xml file. Example: true com.bea.netuix.security.SecurityTokenManagerImpl Please see the WLP security documentation for more information.


Method Summary
 String getTokenName(javax.servlet.http.HttpServletRequest request)
          Returns the name of the security token parameter to use in the request.
 String getTokenValue(javax.servlet.http.HttpServletRequest request)
          Returns the value of the security token parameter to use in the request.
 boolean requiresValidation(javax.servlet.http.HttpServletRequest request)
          Returns true if the request requires validation, false otherwise.
 boolean validateToken(javax.servlet.http.HttpServletRequest request)
          Returns true if the request contains a valid token, false otherwise.
 

Method Detail

getTokenName

String getTokenName(javax.servlet.http.HttpServletRequest request)

Returns the name of the security token parameter to use in the request.

Parameters
request - the HttpServletRequest
Returns
name of the parameter

getTokenValue

String getTokenValue(javax.servlet.http.HttpServletRequest request)

Returns the value of the security token parameter to use in the request.

Parameters
request - the HttpServletRequest
Returns
value of the parameter

validateToken

boolean validateToken(javax.servlet.http.HttpServletRequest request)

Returns true if the request contains a valid token, false otherwise.

Parameters
request - the HttpServletRequest
Returns
boolean

requiresValidation

boolean requiresValidation(javax.servlet.http.HttpServletRequest request)

Returns true if the request requires validation, false otherwise.

Parameters
request - the HttpServletRequest
Returns
boolean


Copyright © 2011, Oracle. All rights reserved.