WAS v8.5 > Reference > SetsGlobal security settings page
Use this panel to configure administration and the default application security policy. This security configuration applies to the security policy for all administrative functions and is used as a default security policy for user applications. Security domains can be defined to override and customize the security policies for user applications.
To view this dmgr console page, click Security > Global security.
Security has some performance impacts on the applications. The performance impacts can vary depending upon the application workload characteristics. You must first determine the needed level of security is enabled for the applications, and then measure the impact of security on the performance of the applications.
When security is configured, validate any changes to the user registry or authentication mechanism panels. Click Apply to validate the user registry settings. An attempt is made to authenticate the server ID or to validate the admin ID (if internalServerID is used) to the configured user registry. Validating the user registry settings after enabling administrative security can avoid problems when we restart the server for the first time.
Security configuration wizard
Launches a wizard that enables you to configure the basic administrative and application security settings. This process restricts administrative tasks and applications to authorized users.
Using this wizard, we can configure application security, resource or Java 2 Connector (J2C) security, and a user registry. We can configure an existing registry and enable administrative, application, and resource security.
When you apply changes made using the security configuration wizard, administrative security is turned on by default.
Security configuration report
Launches a report that gathers and displays the current security settings of the application server. Information is gathered about core security settings, administrative users and groups, CORBA naming roles, and cookie protection. When multiple security domains are configured the report displays the security configuration associated with each domain.
A current limitation to the report is that it does not display application level security information. The report also does not display information on JMS security, bus security, or Web Services Security.
Enable administrative security
Whether to enable administrative security for this application server domain. Administrative security requires users to authenticate before obtaining administrative control of the application server.
For more information, see the related links for administrative roles and administrative authentication.
When enabling security, set the authentication mechanism configuration and specify a valid user ID and password (or a valid admin ID when internalServerID feature is used) in the selected registry configuration.
There is a difference between the user ID (which is normally called the admin ID), which identifies administrators who manage the environment, and a server ID, which is used for server-to-server communication. We do not need to enter a server ID and password when we are using the internal server ID feature. However, optionally, we can specify a server ID and password. To specify the server ID and password, complete the following steps:
- Click Security > Global security.
- Under User accounts repository, select the repository and click Configure.
- Specify the server ID and password in the Server user identity section.
Information Value Default: Enabled
Enable application security
Enables security for the applications in the environment. This type of security provides application isolation and requirements for authenticating application users
In previous releases of WAS, when a user enabled global security, both administrative and application security were enabled. In WAS v6.1, the previous notion of global security is split into administrative security and application security, each of which we can enable separately.
As a result of this split, WAS clients must know whether application security is disabled at the target server. Administrative security is enabled, by default. Application security is disabled, by default. To enable application security, enable administrative security. Application security is in effect only when administrative security is enabled.
Information Value Default: Disabled
Use Java 2 security to restrict application access to local resources
Whether to enable or disable Java 2 security permission checking. By default, access to local resources is not restricted. Choose to disable Java 2 security, even when application security is enabled.
When the Use Java 2 security to restrict application access to local resources option is enabled and if an application requires more Java 2 security permissions than are granted in the default policy, the application might fail to run properly until the required permissions are granted in either the app.policy file or the was.policy file of the application. AccessControl exceptions are generated by applications that do not have all the required permissions. See the related links for more information about Java 2 security.
Information Value Default: Disabled
Warn if applications are granted custom permissions
Specifies that during application deployment and application start, the security runtime issues a warning if applications are granted any custom permissions. Custom permissions are permissions that are defined by the user applications, not Java API permissions. Java API permissions are permissions in the java.* and javax.* packages.
The application server provides support for policy file management. A number of policy files are available in this product, some of them are static and some of them are dynamic. Dynamic policy is a template of permissions for a particular type of resource. No code base is defined and no relative code base is used in the dynamic policy template. The real code base is dynamically created from the configuration and run-time data. The filter.policy file contains a list of permissions that we do not want an application to have according to the J2EE 1.4 specification. For more information on permissions, see the related link about Java 2 security policy files.
We cannot enable this option without enabling the Use Java 2 security to restrict application access to local resources option.
Information Value Default: Disabled
Restrict access to resource authentication data
Enable this option to restrict application access to sensitive Java Connector Architecture (JCA) mapping authentication data.
Consider enabling this option when both of the following conditions are true:
- Java 2 security is enforced.
- The application code is granted the accessRuntimeClasses WebSphereRuntimePermission permission in the was.policy file found within the application EAR file. For example, the application code is granted the permission when the following line is found in your was.policy file:
permission com.ibm.websphere.security.WebSphereRuntimePermission "accessRuntimeClasses";
The Restrict access to resource authentication data option adds fine-grained Java 2 security permission checking to the default principal mapping of the WSPrincipalMappingLoginModule implementation. You must grant explicit permission to J2EE applications that use the WSPrincipalMappingLoginModule implementation directly in the JAAS login when Use Java 2 security to restrict application access to local resources and the Restrict access to resource authentication data options are enabled.
Information Value Default: Disabled
Current realm definition
Current setting for the active user repository.
This field is read-only.
Available realm definitions
Available user account repositories.
The selections appear in a drop-down list containing:
Set as current
Enables the user repository after it is configured.
LDAP or a custom user registry is required when running as a UNIX non-root user or running in a multi-node environment.
We can configure settings for one of the following user repositories:
- Federated repositories
- Specify this setting to manage profiles in multiple repositories under a single realm. The realm can consist of identities in:
- The file-based repository that is built into the system
- One or more external repositories
- Both the built-in, file-based repository and in one or more external repositories
Only a user with administrator privileges can view the federated repositories configuration.
- Local operating system
We cannot use localOS in multi-node or when running as non-root on a UNIX platform.
- Standalone LDAP registry
Specify this setting to use stand-alone LDAP registry settings when users and groups reside in an external LDAP directory. When security is enabled and any of these properties change, go to the Security > Global security panel and click Apply or OK to validate the changes.
Since multiple LDAP servers are supported, this setting does not imply one LDAP registry.
- Stand-alone custom registry
- Specify this setting to implement our own stand-alone custom registry that implements the com.ibm.websphere.security.UserRegistry interface. When security is enabled and any of these properties change, go to the Global security panel and click Apply or OK to validate the changes.
Information Value Default: Disabled
Configure...
Select to configure the global security settings.
Web and SIP security
Under Authentication, expand Web and SIP security to view links to:
- General settings
- Single sign-on (SSO)
- SPNEGO web authentication
- Trust association
General settings
Select to specify the settings for web authentication.
Single sign-on (SSO)
Select to specify the configuration values for single sign-on (SSO).
With SSO support, web users can authenticate once when accessing both WAS resources, such as HTML, JSP files, servlets, enterprise beans, and Lotus Domino resources.
SPNEGO web authentication
Simple and Protected GSS-API Negotiation Mechanism (SPNEGO) provides a way for web clients and the server to negotiate the web authentication protocol used to permit communications.
Trust association
Select to specify the settings for the trust association. Trust association is used to connect reversed proxy servers to the application servers.
We can use the global security settings or customize the settings for a domain.
The use of trust association interceptors (TAIs) for SPNEGO authentication is now deprecated. The SPNEGO web authentication panels now provide a much easier way to configure SPNEGO.
RMI/IIOP security
Under Authentication, expand RMI/IIOP security to view links to:
- CSIv2 inbound communications
- CSIv2 outbound communications
CSIv2 inbound communications
Select to specify authentication settings for requests that are received and transport settings for connections that are accepted by this server using the Object Management Group (OMG) Common Secure Interoperability (CSI) authentication protocol.
Authentication features include three layers of authentication that we can use simultaneously:
- CSIv2 attribute layer. The attribute layer might contain an identity token, which is an identity from an upstream server that already is authenticated. The identity layer has the highest priority, followed by the message layer, and then the transport layer. If a client sends all three, only the identity layer is used. The only way to use the SSL client certificate as the identity is if it is the only information that is presented during the request. The client picks up the interoperable object reference (IOR) from the namespace and reads the values from the tagged component to determine what the server needs for security.
- CSIv2 transport layer. The transport layer, which is the lowest layer, might contain a SSL client certificate as the identity.
- CSIv2 message layer. The message layer might contain a user ID and password or an authenticated token with an expiration.
CSIv2 outbound communications
Select to specify authentication settings for requests sent and transport settings for connections that are initiated by the server using the Object Management Group (OMG) Common Secure Interoperability (CSI) authentication protocol.
Authentication features include three layers of authentication that we can use simultaneously:
- CSIv2 attribute layer. The attribute layer might contain an identity token, which is an identity from an upstream server that already is authenticated. The identity layer has the highest priority, followed by the message layer, and then the transport layer. If a client sends all three, only the identity layer is used. The only way to use the SSL client certificate as the identity is if it is the only information that is presented during the request. The client picks up the interoperable object reference (IOR) from the namespace and reads the values from the tagged component to determine what the server needs for security.
- CSIv2 transport layer. The transport layer, which is the lowest layer, might contain a SSL client certificate as the identity.
- CSIv2 message layer. The message layer might contain a user ID and password or an authenticated token with an expiration.
Java authentication and authorization service
Under Authentication, expand Java authentication and authorization service to view links to:
- Application logins
- System logins
- J2C authentication data
Application logins
Select to define login configurations used by JAAS.
Do not remove the ClientContainer, DefaultPrincipalMapping, and WSLogin login configurations because other applications might use them. If these configurations are removed, other applications might fail.
System logins
Select to define the JAAS login configurations used by system resources, including the authentication mechanism, principal mapping, and credential mapping.
J2C authentication data
Select to specify the settings for the JAAS Java 2 Connector (J2C) authentication data.
We can use the global security settings or customize the settings for a domain.
LTPA
Encrypt authentication information so the application server can send the data from one server to another in a secure manner.
The encryption of authentication information that is exchanged between servers involves the Lightweight Third-Party Authentication (LTPA) mechanism.
Kerberos and LTPA
Encrypt authentication information so the application server can send the data from one server to another in a secure manner.
The encryption of authentication information that is exchanged between servers involves the Kerberos mechanism.
Kerberos must be configured before this option can be selected.
Kerberos configuration
Encrypt authentication information so the application server can send data from one server to anther in a secure manner.
The encryption of the authentication information that is exchanged between servers involves the KRB5 of LTPA mechanism.
Authentication cache settings
Select to set your authentication cache settings.
Enable Java Authentication SPI (JASPI)
Enable the use of Java Authentication SPI (JASPI) authentication.
We can then click Providers to create or edit a JASPI authentication provider and associated authentication modules in the global security configuration.
Use realm-qualified user names
Specifies that user names that are returned by methods, such as the getUserPrincipal() method, are qualified with the security realm in which they reside.
Security domains
Use the Security Domain link to configure additional security configurations for user applications.
For example, if you want use a different user registry for a set of user applications than the one used at the global level, we can create a security configuration with that user registry and associate it with that set of applications. These additional security configurations can be associated with various scopes (cell, clusters/servers, SIBuses). Once the security configurations have been associated with a scope all of the user applications in that scope use this security configuration. Read about Multiple security domains for more detailed information.
For each security attribute, we can use the global security settings or customize settings for the domain.
External authorization providers
Select to specify whether to use the default authorization configuration or an external authorization provider.
The external providers must be based on the Java Authorization Contract for Containers (JACC) specification to handle the Java(TM) 2 Platform, Enterprise Edition (J2EE) authorization. Do not modify any settings on the authorization provider panels unless we have configured an external security provider as a JACC authorization provider.
Custom properties
Select to specify name-value pairs of data, where the name is a property key and the value is a string.
Related concepts:
Java 2 security
Security configuration report
Multiple security domains
Related
Enable security
Configure Federal Information Processing Standard Java Secure Socket Extension files
Configure multiple security domains
Reference:
RSA token authentication settings
LTPA
Local operating system settings
Standalone LDAP registry settings
Stand-alone custom registry settings
Administrative roles
Java 2 security policy files
Configure security domains
Security custom properties
Security domains page
Related information:
Cryptographic Module Validation Program