Hi Darius,
The NullPointerException has been fixed in CVS.
You should call SecurityAssisiation.setCredential(principal.getName())
on client if you want the authentication to succeed.
Regards,
Oleg
Fri, 17 Nov 2000, you wrote:
> Now i do getting
> [VCC] java.lang.NullPointerException
> [VCC] at org.jboss.security.EJBSecurityManagerDefaultImpl.isValid(EJBSecurityM
> anagerDefaultImpl.java:61)
> [VCC] at org.jboss.ejb.plugins.SecurityInterceptor.checkSecurityAssociation(Se
> curityInterceptor.java:110)
> [VCC] at org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityIntercep
> tor.java:136)
> [VCC] at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:1
> 06)
> [VCC] at org.jboss.ejb.EntityContainer.invokeHome(EntityContainer.java:316)
> [VCC] at org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invokeHome(JRM
> PContainerInvoker.java:155)
>
>
> I feel my configuration is still bad somewhere but maybe
>java.lang.NullPointerException not the best sollution
> in Class EJBSecurityManagerDefaultImpl function isValid(Principal principal, Object
>credential)
>
> credential - is null here
> and after
> return principal.getName().equals( credential.toString() );
> I do geting nullPointer Exception
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]