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 HttpSecurityActionContext
Generic context for
HttpSecurity actions.- Author:
- Daniel Sagenschneider
-
Method Summary
Modifier and TypeMethodDescriptionObtains theServerHttpConnection.getQualifiedAttributeName(String attributeName) Qualifies the attribute name to thisHttpSecurityinstance.Obtains theHttpRequestState.Obtains theHttpSession.
-
Method Details
-
getConnection
ServerHttpConnection getConnection()Obtains theServerHttpConnection.- Returns:
ServerHttpConnection.
-
getQualifiedAttributeName
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.
-