WebSphere eXtreme Scale 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, there are provided plug-ins to obtain and validate Subject objects.

The following sections describe the two ways in which you can enable local security:

You can use the ObjectGrid XML file to define an ObjectGrid and enable the security for that ObjectGrid. 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>

You can also enable 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();

For more information, see the ObjectGrid interface.



Parent topic

Secure the deployment environment


+

Search Tips   |   Advanced Search