在jboss中怎样使用jaas,同时用unauthenticated 方法或角色或principal?
jwd 2003-04-11 07:06:20 知道有<unauthenticated-principal>、<unchecked/>。但怎么试都不行。
jboss3.04-tomcat.
org.jboss.security.auth.spi.DatabaseServerLoginModule.
报“SecurityException: Authentication exception, principal=null.
at org.jboss.ejb.plugins.SecurityInterceptor.checkSecurityAssociation(Se
curityInterceptor.java:173)
at org.jboss.ejb.plugins.SecurityInterceptor.invokeHome SecurityInterceptor.java:94)....“
在ArtSess ses=sesH.create();(servlet的init()中 创建sessionBean时)。