Intermittent issues with logout (Default Sling logout) | Adobe Higher Education
Skip to main content
October 16, 2015
Risolto

Intermittent issues with logout (Default Sling logout)

  • October 16, 2015
  • 1 risposta
  • 769 visualizzazioni

Hi,

We face intermittent issues when the logout is invoked by tablet or by phones. Desktop seems to be fine and that is a reason why i can't debug the logout problem. We have external vendors that develop the phones or tablet support which makes it very hard to debug the issue. Below seems to be the stack trace of the error. 

I am not quite sure why is DefaultLoginModule being called is it because none of the other handlers were able to process the request? If yes, why is it intermittent? Should i be worried about this info? This is not error. The user does get logged out in this case but throws exception.

13.10.2014 11:23:49.522 WARN [192.168.130.21 [1413152629522] GET / HTTP/1.1] org.apache.jackrabbit.core.security.authentication.DefaultLoginModule Failed to retrieve UserID from token-based credentials: javax.jcr.ItemNotFoundException: ec39838b-43fa-442b-baae-e3a1b0e79916
13.10.2014 11:23:49.523 INFO [192.168.130.21 [1413152629522] GET / HTTP/1.1] org.apache.sling.auth.core.impl.SlingAuthenticator handleLoginFailure: Unable to authenticate null: java.lang.IllegalArgumentException: Invalid authorizable name 'null'

at org.apache.jackrabbit.core.security.user.UserManagerImpl.getAuthorizable(UserManagerImpl.java:434)
at org.apache.jackrabbit.core.security.authentication.DefaultLoginModule.getPrincipal(DefaultLoginModule.java:183)
at org.apache.jackrabbit.core.security.authentication.AbstractLoginModule.login(AbstractLoginModule.java:319)
at sun.reflect.GeneratedMethodAccessor46.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at javax.security.auth.login.LoginContext.invoke(LoginContext.java:784)
at javax.security.auth.login.LoginContext.access$000(LoginContext.java:203)
at javax.security.auth.login.LoginContext$4.run(LoginContext.java:698)
at javax.security.auth.login.LoginContext$4.run(LoginContext.java:696)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:695)
at javax.security.auth.login.LoginContext.login(LoginContext.java:594)
at org.apache.jackrabbit.core.security.authentication.JAASAuthContext.login(JAASAuthContext.java:60)
at org.apache.jackrabbit.core.RepositoryImpl.login(RepositoryImpl.java:1465)
at com.day.crx.mount.virtual.VirtualRepository$1.call(VirtualRepository.java:107)
at com.day.crx.mount.Util.callWithContextClassLoader(Util.java:123)
at com.day.crx.mount.virtual.VirtualRepository.login(VirtualRepository.java:105)
at com.day.crx.sling.server.impl.SlingRepositoryWrapper.login(SlingRepositoryWrapper.java:127)
at org.apache.sling.jcr.resource.internal.helper.jcr.JcrResourceProviderFactory.getResourceProviderInternal(JcrResourceProviderFactory.java:144)
at org.apache.sling.jcr.resource.internal.helper.jcr.JcrResourceProviderFactory.getResourceProvider(JcrResourceProviderFactory.java:107)
at org.apache.sling.resourceresolver.impl.tree.ResourceProviderFactoryHandler.login(ResourceProviderFactoryHandler.java:164)
at org.apache.sling.resourceresolver.impl.tree.RootResourceProviderEntry.loginToRequiredFactories(RootResourceProviderEntry.java:95)
at org.apache.sling.resourceresolver.impl.ResourceResolverFactoryImpl.getResourceResolverInternal(ResourceResolverFactoryImpl.java:95)
at org.apache.sling.resourceresolver.impl.ResourceResolverFactoryImpl.getResourceResolver(ResourceResolverFactoryImpl.java:76)
at org.apache.sling.auth.core.impl.SlingAuthenticator.getResolver(SlingAuthenticator.java:762)
at org.apache.sling.auth.core.impl.SlingAuthenticator.doHandleSecurity(SlingAuthenticator.java:483)

Thanking you in advance.

Questo argomento è stato chiuso alle risposte.
Migliore risposta di Sham_HC

As far as log is concerned there is nothing you should worry about. What is the exact problem at tablet or phones?

1 risposta

Sham_HC
Sham_HCRisposta
Level 10
October 16, 2015

As far as log is concerned there is nothing you should worry about. What is the exact problem at tablet or phones?