>From my understanding of the document, all the user principals can be cache
>and obtains from here.
| MBeanServer server = ...;
| String jaasMgrName = "jboss.security:service=JaasSecurityManager";
| ObjectName jaasMgr = new ObjectName(jaasMgrName);
| Object[] params = {domainName};
| String[] signature = {"java.lang.String"};
| List users = (List) server.invoke(jaasMgr,
"getAuthenticationCachePrincipals",
| params, signature);
|
However, I still don't understand how can I just remove one of the user by
username and principals. I noticed there is a "flushAuthenticationCache"
option, but it will flush all the users away.
I am new to JAAS and don't know what will be the best way of retrieving the
cached principals.
Thanks,
Michael
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3872243#3872243
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3872243
-------------------------------------------------------
This SF.net email is sponsored by Demarc:
A global provider of Threat Management Solutions.
Download our HomeAdmin security software for free today!
http://www.demarc.com/info/Sentarus/hamr30
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user