List of usage examples for org.springframework.security.access AccessDeniedException toString
public String toString()
From source file:com.sshdemo.common.web.AccessDeniedAction.java
@Override public String execute() { HttpServletRequest request = ServletActionContext.getRequest(); AccessDeniedException exception = (AccessDeniedException) request .getAttribute(WebAttributes.ACCESS_DENIED_403); this.errorDetails = exception.getMessage(); this.errorTrace = exception.toString(); return SUCCESS; }