AnsweredAssumed Answered

Unable to issue ticket

Question asked by aurel44 on Jan 7, 2011
Latest reply on Jan 7, 2011 by aurel44
Bonjour,

j'essaye de configurer l'authentification unique à partir d'un annuaire LDAP avec CAS. Lorsque je me connecte à http://localhost:8080/alfresco, je suis bien redirigé vers la page de login de CAS dans laquelle je saisie un login et un mot de passe. Je clique ensuite sur "Connecter" et là, je suis redirigé vers la page d'alfresco (http://localhost:8080/alfresco/faces/jsp/dashboards/container.jsp?ticket=ST-2-Z4zsAMQ4FXkwniHm1h1JCqmYCAoySjGKKD2-20). Mais cette page d'Alfresco affiche un message d'erreur :

"org.alfresco.repo.security.authentication.AuthenticationException: 00070002 Unable to issue ticket"

Je ne sais comment résoudre ce problème.

Voilà la trace de l' exécution dans Eclipse :

[…]
INFO: Server startup in 168479 ms
2011-01-07 10:26:29,437 INFO [org.jasig.cas.ticket.registry.support.DefaultTicketRegistryCleaner] - <Starting cleaning of expired tickets from ticket registry at [Fri Jan 07 10:26:29 CET 2011]>
2011-01-07 10:26:29,437 INFO [org.jasig.cas.ticket.registry.support.DefaultTicketRegistryCleaner] - <0 found to be removed.  Removing now.>
2011-01-07 10:26:29,453 INFO [org.jasig.cas.ticket.registry.support.DefaultTicketRegistryCleaner] - <Finished cleaning of expired tickets from ticket registry at [Fri Jan 07 10:26:29 CET 2011]>
2011-01-07 10:28:18,453 INFO [org.jasig.cas.web.flow.AutomaticCookiePathSetterAction] - <Setting ContextPath for cookies to: /cas>
2011-01-07 10:28:26,140 INFO [org.jasig.cas.authentication.AuthenticationManagerImpl] - <AuthenticationHandler: org.jasig.cas.authentication.handler.support.SimpleTestUsernamePasswordAuthenticationHandler successfully authenticated the user which provided the following credentials: jonas>
2011-01-07 10:28:26,156 INFO [org.jasig.cas.CentralAuthenticationServiceImpl] - <Granted service ticket [ST-2-Z4zsAMQ4FXkwniHm1h1JCqmYCAoySjGKKD2-20] for service [http://localhost:8080/alfresco/faces/jsp/dashboards/container.jsp] for user [jonas]>
10:28:26,765 User:jonas ERROR [app.servlet.CASAuthenticationFilter] org.alfresco.repo.security.authentication.AuthenticationException: 00070002 Unable to issue ticket
7 janv. 2011 10:28:26 org.apache.catalina.core.StandardWrapperValve invoke
GRAVE: "Servlet.service()" pour la servlet Faces Servlet a généré une exception
org.alfresco.repo.security.authentication.AuthenticationException: 00070002 Unable to issue ticket
   at org.alfresco.repo.security.authentication.AbstractChainingAuthenticationService.getCurrentTicket(AbstractChainingAuthenticationService.java:347)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
   at java.lang.reflect.Method.invoke(Unknown Source)
[…]

Pouvez-vous m'aidez?

Outcomes