Ok I've fixed the problem, in JBossSecurityMgrRealm there is a protected method
called getPrincipal(String) but it does not appear to be used when it should
have. I have tested the following code and it fixes my problem, so it would
appear to be a bug in JBoss, how do I get this checked in, i.e. fixed?
It is a fairly minor change and only one line to change, this is what it
currectly in JBossSecurityMgrRealm:
public Principal authenticate(String username, String digest, String nonce,
String nc, String cnonce, String qop, String realm,
| String md5a2)
| {
| ....
| /* 410*/ principal = new SimplePrincipal(username);
| ...
| }
this is my proposed fix:
public Principal authenticate(String username, String digest, String nonce,
String nc, String cnonce, String qop, String realm,
| String md5a2)
| {
| ....
| /* 410*/ principal = getPrincipal(username);
| ...
| }
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949863#3949863
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949863
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user