07-13-2007 04:57 AM
java.lang.IllegalArgumentException - All user details are mandatory!I have taken alfresco from svn one mont ago and i have implemented ldap sso with cas between liferay and alfresco.
org.alfresco.web.bean.repository.User.(User.java:70)
org.alfresco.web.scripts.portlet.WebClientPortletAuthenticator.createWebClientUser(WebClientPortletAuthenticator.java:140)
org.alfresco.web.scripts.portlet.WebClientPortletAuthenticator.authenticate(WebClientPortletAuthenticator.java:114)
org.alfresco.web.scripts.portlet.WebScriptPortlet$WebScriptPortalRuntime.authenticate(WebScriptPortlet.java:263)
org.alfresco.web.scripts.WebScriptRuntime.authenticatedExecute(WebScriptRuntime.java:294)
08-13-2007 04:45 PM
08-14-2007 02:31 AM
08-14-2007 01:25 PM
08-15-2007 02:36 AM
08-18-2007 04:21 AM
08-20-2007 12:14 PM
08-21-2007 05:01 AM
Hi,
The solution is generic for any LDAP Server. You can use ADS (Active Directory Server), ADS (Apache Directory Server), OpenLDAP, ect. For using OpenLDAP, you just replace ADS configuration in SSO CAS, Liferay and Alfresco with OpenLDAP configuration, pointing LDAP connection to your OpenLDAP server and setting parameters according to your OpenLDAP server context.
08-22-2007 10:19 AM
09-21-2007 06:14 AM
2007-09-13 14:23:12,026 INFO [org.jasig.cas.ticket.registry.support.DefaultTicke
tRegistryCleaner] - <Starting cleaning of expired tickets from ticket registry a
t [Thu Sep 13 14:23:12 CEST 2007]>
2007-09-13 14:23:12,036 INFO [org.jasig.cas.ticket.registry.support.DefaultTicke
tRegistryCleaner] - <0 found to be removed. Removing now.>
2007-09-13 14:23:12,046 INFO [org.jasig.cas.ticket.registry.support.DefaultTicke
tRegistryCleaner] - <Finished cleaning of expired tickets from ticket registry a
t [Thu Sep 13 14:23:12 CEST 2007]>
2007-09-13 14:38:32,650 INFO [org.jasig.cas.web.flow.InitialFlowSetupAction] - <
Setting ContextPath for cookies to: /cas>
2007-09-13 14:39:14,991 INFO [org.jasig.cas.authentication.AuthenticationManager
Impl] - <AuthenticationHandler: org.jasig.cas.authentication.handler.support.Sim
pleTestUsernamePasswordAuthenticationHandler successfully authenticated the user
which provided the following credentials: joebloggs>
2007-09-13 14:39:15,011 INFO [org.jasig.cas.CentralAuthenticationServiceImpl] -
<Granted service ticket [ST-1-o33NgonIFq7uJTQCTfy5f66I4OJJLJftVaQ-20] for servic
e [http://localhost:9000/liferay] for user [joebloggs]>
2007-09-13 14:40:07,106 INFO [org.jasig.cas.authentication.AuthenticationManager
Impl] - <AuthenticationHandler: org.jasig.cas.authentication.handler.support.Htt
pBasedServiceCredentialsAuthenticationHandler failed to authenticate the user wh
ich provided the following credentials: https://localhost:8443/cas/proxyCallBack
>
2007-09-13 14:40:07,106 ERROR [org.jasig.cas.web.ServiceValidateController] - <T
icketException generating ticket for: https://localhost:8443/cas/proxyCallBack>
org.jasig.cas.ticket.TicketCreationException: error.authentication.credentials.b
ad
at org.jasig.cas.CentralAuthenticationServiceImpl.delegateTicketGranting
Ticket(CentralAuthenticationServiceImpl.java:271)
at org.jasig.cas.web.ServiceValidateController.handleRequestInternal(Ser
viceValidateController.java:124)
at org.springframework.web.servlet.mvc.AbstractController.handleRequest(
AbstractController.java:153)
at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.ha
ndle(SimpleControllerHandlerAdapter.java:48)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(Dispatch
erServlet.java:857)
at org.springframework.web.servlet.DispatcherServlet.doService(Dispatche
rServlet.java:792)
at org.springframework.web.servlet.FrameworkServlet.processRequest(Frame
workServlet.java:475)
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServl
et.java:430)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.jasig.cas.web.init.SafeDispatcherServlet.service(SafeDispatcherSe
rvlet.java:115)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:188)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:210)
keytool -genkey -alias tomcat -keypass changeit -keyalg RSA
keytool -export -alias tomcat -keypass changeit -file server.cert
keytool -import -alias tomcat -file server.cert -keypass changeit -keystore %JAVA_HOME%/jre/lib/security/cacerts
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.