I modify the getSubject method, We think that it should have default value.
private Subject getSubject()
| {
| subjectFactory = new JBossSecuritySubjectFactory();
| ((JBossSecuritySubjectFactory)
subjectFactory).setSecurityManagement(new JNDIBasedSecurityManagement());
| Subject subject = null;
| if(subjectFactory != null && securityDomainJndiName != null)
| {
| subject = subjectFactory.createSubject(securityDomainJndiName);
| }
| if (trace)
| log.trace("subject: " + subject);
| return subject;
| }
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4225057#4225057
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225057
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user