|
|||||
FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Field Summary | |
---|---|
String |
ajaxErrorPage
|
String |
ajaxHeader
|
AuthenticationTrustResolver |
authenticationTrustResolver
|
String |
errorPage
|
PortResolver |
portResolver
|
Constructor Summary | |
GrailsAccessDeniedHandlerImpl()
|
Method Summary | |
---|---|
void |
afterPropertiesSet()
|
Authentication |
getAuthentication()
|
void |
handle(ServletRequest req, ServletResponse res, AccessDeniedException e)
|
boolean |
isLoggedIn()
|
void |
setAjaxErrorPage(String page)
Dependency injection for the Ajax error page, e.g. |
void |
setAjaxHeader(String header)
Dependency injection for the Ajax header name; defaults to 'X-Requested-With'. |
void |
setErrorPage(String page)
Dependency injection for the error page, e.g. |
void |
setPortResolver(PortResolver resolver)
Dependency injection for the port resolver. |
Constructor Detail |
---|
GrailsAccessDeniedHandlerImpl()
Method Detail |
---|
public void afterPropertiesSet()
Authentication getAuthentication()
public void handle(ServletRequest req, ServletResponse res, AccessDeniedException e)
boolean isLoggedIn()
public void setAjaxErrorPage(String page)
public void setAjaxHeader(String header)
public void setErrorPage(String page)
public void setPortResolver(PortResolver resolver)