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#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...