Administration guide > Secure the deployment environment
Enable local security
WebSphere eXtreme Scale provides several security endpoints to integrate custom mechanisms. In the local programming model, the main security function is authorization, and has no authentication support. You must authenticate independently from the already existing WebSphere Application Server authentication. However, you can use the provided plug-ins to obtain and validate Subject objects.
You can enable local security with the ObjectGrid XML descriptor file or programmatically.
- Enable local security with the ObjectGrid XML descriptor XML file.
The secure-objectgrid-definition.xml file that is used in the ObjectGridSample enterprise application sample is shown in the following example. Set the securityEnabled attribute to true to enable security.
<objectGrids> <objectGrid name="secureClusterObjectGrid" securityEnabled="true" authorizationMechanism="AUTHORIZATION_MECHANISM_JAAS"> ... </objectGrids>
- Enable local security programmatically.
To create an ObjectGrid using the ObjectGrid.setSecurityEnabled method, call the following method on the ObjectGrid interface:
/** * Enable the ObjectGrid security */ void setSecurityEnabled();
What to do nextStart the container and catalog servers with security enabled.
Parent topic:Secure the deployment environment
Security integration with WAS
Data grid authentication
Data grid security
Application client authentication
Application client authorization
Transport layer security and secure sockets layer
Java Management Extensions (JMX) security
Security integration with external providers
Start and stop secure servers
Secure the REST data service
Security descriptor XML file
ObjectGrid descriptor XML file
Tutorial: Integrate WebSphere eXtreme Scale security with WAS
Tutorial: Integrate WebSphere eXtreme Scale security in a mixed environment with an external authenticator