Search in sources :

Example 1 with Identity

use of org.gluu.oxtrust.security.Identity in project oxTrust by GluuFederation.

the class GlobalExceptionHandler method storeRequestURI.

protected void storeRequestURI() {
    ExternalContext extContext = FacesContext.getCurrentInstance().getExternalContext();
    String requestUri = ((javax.servlet.http.HttpServletRequest) extContext.getRequest()).getRequestURI();
    Identity identity = CdiUtil.bean(Identity.class);
    identity.setSavedRequestUri(requestUri);
}
Also used : ExternalContext(javax.faces.context.ExternalContext) Identity(org.gluu.oxtrust.security.Identity)

Aggregations

ExternalContext (javax.faces.context.ExternalContext)1 Identity (org.gluu.oxtrust.security.Identity)1