Getting the User Manager

Written by Joseph Ottinger

You can retrieve the Orion user manager instance, no matter which one the application is using, by executing the following code:
 

Context ctx=new InitialContext(); 
UserManager um=(UserManager)ctx.lookup("java:comp/UserManager");

Copyright © 2007 IronFlare AB