Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Riena » AuthenticationTicket
AuthenticationTicket [message #583967] Thu, 22 October 2009 01:37
Ngwa Ambe Elvis is currently offline Ngwa Ambe ElvisFriend
Messages: 25
Registered: July 2009
Junior Member

Problems transfering AuthenticationTicket from server to client

Error log on client:

javax.security.auth.login.LoginException: Failed to log in.
at org.eclipse.equinox.internal.security.auth.SecureContext.log in(SecureContext.java:57)
at org.nicemann.client.login.NicemannLoginService.authenticate( NicemannLoginService.java:15)
at org.jdesktop.swingx.auth.LoginService$1.doInBackground(Login Service.java:142)
at org.jdesktop.swingx.auth.LoginService$1.doInBackground(Login Service.java:139)
at org.jdesktop.swingworker.SwingWorker$1.call(SwingWorker.java :276)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.jav a:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at org.jdesktop.swingworker.SwingWorker.run(SwingWorker.java:31 5)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Threa dPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo lExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Caused by: javax.security.auth.login.LoginException: org.eclipse.riena.communication.core.RemoteFailure: Error while invoking remote service
at org.eclipse.riena.internal.communication.core.factory.CallHo oksProxy.invoke(CallHooksProxy.java:71)
at $Proxy25.login(Unknown Source)
at org.eclipse.riena.security.common.authentication.RemoteLogin Proxy.login(RemoteLoginProxy.java:77)
at org.cotid.client.authentication.CotidClientLoginModule.login (CotidClientLoginModule.java:69)
at org.eclipse.equinox.security.auth.module.ExtensionLoginModul e.login(ExtensionLoginModule.java:61)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at javax.security.auth.login.LoginContext.invoke(LoginContext.j ava:769)
at javax.security.auth.login.LoginContext.access$000(LoginConte xt.java:186)
at javax.security.auth.login.LoginContext$4.run(LoginContext.ja va:683)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.login.LoginContext.invokePriv(LoginConte xt.java:680)
at javax.security.auth.login.LoginContext.login(LoginContext.ja va:579)
at org.eclipse.equinox.internal.security.auth.SecureContext.log in(SecureContext.java:50)
at org.nicemann.client.login.NicemannLoginService.authenticate( NicemannLoginService.java:15)
at org.jdesktop.swingx.auth.LoginService$1.doInBackground(Login Service.java:142)
at org.jdesktop.swingx.auth.LoginService$1.doInBackground(Login Service.java:139)
at org.jdesktop.swingworker.SwingWorker$1.call(SwingWorker.java :276)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.jav a:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at org.jdesktop.swingworker.SwingWorker.run(SwingWorker.java:31 5)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Threa dPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo lExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Caused by: com.caucho.hessian.client.HessianRuntimeException: com.caucho.hessian.io.HessianFieldException: org.eclipse.riena.security.common.authentication.Authenticat ionTicket.principals: java.util.Set cannot be assigned from null
at com.caucho.hessian.client.HessianProxy.invoke(HessianProxy.j ava:213)
at $Proxy24.login(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.riena.communication.core.hooks.AbstractHooksProx y.invoke(AbstractHooksProxy.java:69)
at org.eclipse.riena.communication.core.hooks.AbstractHooksProx y.invoke(AbstractHooksProxy.java:38)
at org.eclipse.riena.internal.communication.core.factory.CallHo oksProxy.invoke(CallHooksProxy.java:59)
... 25 more
Caused by: com.caucho.hessian.io.HessianFieldException: org.eclipse.riena.security.common.authentication.Authenticat ionTicket.principals: java.util.Set cannot be assigned from null
at com.caucho.hessian.io.JavaDeserializer.logDeserializeError(J avaDeserializer.java:592)
at com.caucho.hessian.io.JavaDeserializer$ObjectFieldDeserializ er.deserialize(JavaDeserializer.java:387)
at com.caucho.hessian.io.JavaDeserializer.readObject(JavaDeseri alizer.java:233)
at com.caucho.hessian.io.JavaDeserializer.readObject(JavaDeseri alizer.java:157)
at com.caucho.hessian.io.Hessian2Input.readObjectInstance(Hessi an2Input.java:2014)
at com.caucho.hessian.io.Hessian2Input.readObject(Hessian2Input .java:1655)
at com.caucho.hessian.io.Hessian2Input.readObject(Hessian2Input .java:1642)
at com.caucho.hessian.client.HessianProxy.invoke(HessianProxy.j ava:201)
... 33 more
Caused by: java.lang.NullPointerException
at org.eclipse.riena.internal.communication.factory.hessian.Pri ncipalSerializerFactory$1.instantiate(PrincipalSerializerFac tory.java:39)
at com.caucho.hessian.io.JavaDeserializer.readObject(JavaDeseri alizer.java:155)
at com.caucho.hessian.io.SerializerFactory.readObject(Serialize rFactory.java:364)
at com.caucho.hessian.io.Hessian2Input.readObjectInstance(Hessi an2Input.java:2017)
at com.caucho.hessian.io.Hessian2Input.readObject(Hessian2Input .java:1943)
at com.caucho.hessian.io.Hessian2Input.readObject(Hessian2Input .java:1935)
at com.caucho.hessian.io.CollectionDeserializer.readList(Collec tionDeserializer.java:78)
at com.caucho.hessian.io.Hessian2Input.readObject(Hessian2Input .java:1666)
at com.caucho.hessian.io.JavaDeserializer$ObjectFieldDeserializ er.deserialize(JavaDeserializer.java:383)
... 39 more

at javax.security.auth.login.LoginContext.invoke(LoginContext.j ava:872)
at javax.security.auth.login.LoginContext.access$000(LoginConte xt.java:186)
at javax.security.auth.login.LoginContext$4.run(LoginContext.ja va:683)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.login.LoginContext.invokePriv(LoginConte xt.java:680)
at javax.security.auth.login.LoginContext.login(LoginContext.ja va:579)
at org.eclipse.equinox.internal.security.auth.SecureContext.log in(SecureContext.java:50)
... 10 more
Previous Topic:Riena 1.2.0.M2 milestone
Next Topic: AuthenticationTicket
Goto Forum:
  


Current Time: Tue Nov 25 02:08:40 GMT 2014

Powered by FUDForum. Page generated in 0.03899 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software