Hi All,
I'm clearing the SecurityContext on server shutdown using the following
code:
com.sun.enterprise.security.SecurityContext.setCurrent(null);
com.sun.enterprise.security.SecurityContext sc =
com.sun.enterprise.security.SecurityContext.getCurrent();
sc.getSubject().getPrincipals().clear();
sc.getSubject().getPrivateCredentials().clear();
sc.getSubject().getPublicCredentials().clear();
But after the domain/server restart, i find that all the Principals still
exist in the SecurityContext....
Could someone please let me know how to clear the SecurityContext???
Regards,
Skanda
--
View this message in context: http://www.nabble.com/SecurityContext-does-not-get-cleared-on-server-restart-tp25974336p25974336.html
Sent from the java.net - glassfish users mailing list archive at Nabble.com.