@Override
    public Object getContext(String key, Object data) throws PolicyContextException {
        if (!key.equalsIgnoreCase(SecurityConstants.WEB_REQUEST_KEY))
            return null;
        return SecurityContextAssociationHandler.getActiveRequest();
    }
@Override
    public Object getContext(String key, Object data) throws PolicyContextException {
        if (!key.equalsIgnoreCase(SecurityConstants.WEB_REQUEST_KEY))
            return null;
        return SecurityContextAssociationHandler.getActiveRequest();
    }
@ Override public Object getContext ( String key , Object data ) throws PolicyContextException { if ( ! key . equalsIgnoreCase ( SecurityConstants . WEB_REQUEST_KEY ) ) return null ; return SecurityContextAssociationHandler . getActiveRequest ( ) ; }
{@inheritDoc}
{