Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

log4j output txt

By: a guest on Apr 24th, 2012  |  syntax: None  |  size: 2.70 KB  |  hits: 36  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Shiro works when you try to access `/lists`
  2.  
  3.     TRACE 2012-04-24 11:40:53,351 [qtp1033140423-22] org.apache.shiro.web.filter.PathMatchingFilter: Attempting to match pattern '/login' with current requestURI '/lists'...
  4.     TRACE 2012-04-24 11:40:53,351 [qtp1033140423-22] org.apache.shiro.web.filter.authc.FormAuthenticationFilter: Attempting to access a path which requires authentication.  Forwarding to the Authentication url [/login]
  5.  
  6. But, when the login form is submitted the redirect to `/unauthorized` never happens. Note, the login submission is detected:
  7.  
  8.     TRACE 2012-04-24 11:44:03,659 [qtp1033140423-25] org.apache.shiro.web.filter.authc.FormAuthenticationFilter: Login submission detected.  Attempting to execute login.
  9.     TRACE 2012-04-24 11:44:03,661 [qtp1033140423-25] org.apache.shiro.util.ThreadContext: get() - in thread [qtp1033140423-25]
  10.     TRACE 2012-04-24 11:44:03,662 [qtp1033140423-25] org.apache.shiro.util.ThreadContext: Retrieved value of type [org.apache.shiro.web.subject.support.WebDelegatingSubject] for key [org.apache.shiro.util.ThreadContext_SUBJECT_KEY] bound to thread [qtp1033140423-25]<br>
  11.     TRACE 2012-04-24 11:44:03,662 [qtp1033140423-25] org.apache.shiro.subject.support.DelegatingSubject: attempting to get session; create = false; session is null = false; session has id = true
  12.     TRACE 2012-04-24 11:44:03,662 [qtp1033140423-25] org.apache.shiro.authc.AbstractAuthenticator: Authentication attempt received for token [org.apache.shiro.authc.UsernamePasswordToken - null, rememberMe=false (0:0:0:0:0:0:0:1%0)]
  13.     DEBUG 2012-04-24 11:44:03,664 [qtp1033140423-25] org.apache.shiro.realm.AuthenticatingRealm: Looked up AuthenticationInfo [matt] from doGetAuthenticationInfo
  14.     DEBUG 2012-04-24 11:44:03,664 [qtp1033140423-25] org.apache.shiro.realm.AuthenticatingRealm: AuthenticationInfo caching is disabled for info [matt].  Submitted token: [org.apache.shiro.authc.UsernamePasswordToken - null, rememberMe=false (0:0:0:0:0:0:0:1%0)].
  15.     TRACE 2012-04-24 11:44:03,665 [qtp1033140423-25] org.apache.shiro.web.servlet.SimpleCookie: calculated path: /
  16.     DEBUG 2012-04-24 11:44:03,665 [qtp1033140423-25] org.apache.shiro.web.servlet.SimpleCookie: Added HttpServletResponse Cookie [rememberMe=deleteMe; Path=/; Max-Age=0; Expires=Mon, 23-Apr-2012 15:44:03 GMT]<br>
  17.     TRACE 2012-04-24 11:44:03,665 [qtp1033140423-25] org.apache.shiro.web.servlet.SimpleCookie: Removed 'rememberMe' cookie by setting maxAge=0<br>
  18.     TRACE 2012-04-24 11:44:03,665 [qtp1033140423-25] org.apache.shiro.web.servlet.AdviceFilter: Invoked preHandle method.  Continuing chain?: [true]
  19.     TRACE 2012-04-24 11:44:03,665 [qtp1033140423-25] org.apache.shiro.web.servlet.ProxiedFilterChain: Invoking original filter chain.