8.5. Default Security Environment

Until this example, we had not used the security environment, despite the e-Speak policy of using most restrictive access control. So how did the programs run without any security until now? The answer to that question is the way in which the service and client classes were being run. In the previous examples, we set a property for this when starting the service or the client. For example, the Hotel service was started as:

java -Despeak_home=c:\e-speak HotelInformationService 
   ..\Shared\EasyInn.ini EasyInn 

The property espeak home denotes the location of the e-Speak installation. When this property is set, the JESI library components use it to locate the default security environment. More specifically, they ...

Get Web Services: A Java™ Developer’s Guide Using E-Speak now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.