Package net.officefloor.web.spi.security
Interface HttpSecurityActionContext
-
- All Known Subinterfaces:
AuthenticateContext<AC,O,F>,ChallengeContext<O,F>,LogoutContext<O,F>,RatifyContext<AC>
- All Known Implementing Classes:
AbstractMockHttpSecurityActionContext,MockHttpAuthenticateContext,MockHttpChallengeContext,MockHttpLogoutContext,MockHttpRatifyContext
public interface HttpSecurityActionContextGeneric context forHttpSecurityactions.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ServerHttpConnectiongetConnection()Obtains theServerHttpConnection.java.lang.StringgetQualifiedAttributeName(java.lang.String attributeName)Qualifies the attribute name to thisHttpSecurityinstance.HttpRequestStategetRequestState()Obtains theHttpRequestState.HttpSessiongetSession()Obtains theHttpSession.
-
-
-
Method Detail
-
getConnection
ServerHttpConnection getConnection()
Obtains theServerHttpConnection.- Returns:
ServerHttpConnection.
-
getQualifiedAttributeName
java.lang.String getQualifiedAttributeName(java.lang.String attributeName)
Qualifies the attribute name to this
HttpSecurityinstance.Multiple
HttpSecuritySourceinstances may be registered for the application. Potentially, some even of the same implementation - likely just configured differently for different needs.Therefore, may use this method to provide a namespace on the attribute to keep its value isolated to just this instance use of the
HttpSecurity.- Parameters:
attributeName- Name of the attribute.- Returns:
- Qualified attribute name to the
HttpSecurityinstance.
-
getSession
HttpSession getSession()
Obtains theHttpSession.- Returns:
HttpSession.
-
getRequestState
HttpRequestState getRequestState()
Obtains theHttpRequestState.- Returns:
HttpRequestState.
-
-