dcsimg
Websphere 5 migration Security Context question
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   govind_shridhare
Posted On:   Monday, February 9, 2004 10:18 AM

I am migrating a Custom registry implementation from WAS 4.0 to User registry implementation for WAS 5.0. In the 4.0 application source, we have these lines... /** * This method returns true if J2EE Authentication is enabled. * @return True indicates enabled, false indicates disabled */ public static boolean isJ2EEAuthEnabled() { // boolean retVal = SecurityContext.isSecurityEnabled(); // LOG.debug("SecurityContext.isSecurityEnabled()=" + retVal); // return retVal; return false; } the code thats commented out since   More>>

I am migrating a Custom registry implementation from WAS 4.0 to User registry implementation for WAS 5.0.


In the 4.0 application source, we have these lines...


/**
* This method returns true if J2EE Authentication is

enabled.
* @return True indicates enabled, false indicates disabled


*/

public static boolean isJ2EEAuthEnabled()


{


// boolean retVal = SecurityContext.isSecurityEnabled();


// LOG.debug("SecurityContext.isSecurityEnabled()=" +

retVal);


// return retVal;


return false;


}




the code thats commented out since it doesn't compile in WAS 5.0.



What is the equivalent of this in WAS 5.0 (Websphere App Server) for me to check whether the security is enabled?



Any source code example would be really appreciated.



Thanks a lot.



Yogi

   <<Less
About | Sitemap | Contact