CSIv2 inbound communications settings
To specify the features that a server supports for a client accessing its resources.Security | Global security Authentication | RMI/IIOP security | CSIv2 inbound communications
Use common secure interoperability (CSI) inbound communications settings for configuring the type of authentication information contained in an incoming request or transport.
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 an 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.
- Propagate security attributes
Specifies support for security attribute propagation during login requests. When you select this option, the appserver retains additional information about the login request, such as the authentication strength used, and retains the identity and location of the request originator.
If we do not select this option, the appserver does not accept any additional login information to propagate to downstream servers.
When you use the replication services, ensure that the Propagate security attributes option is enabled.
- Use identity assertion
Specifies that identity assertion is a way to assert identities from one server to another during a downstream EJB invocation.
This server does not authenticate the asserted identity again because it trusts the upstream server. Identity assertion takes precedence over all other types of authentication.
Identity assertion is performed in the attribute layer and is only applicable on servers. The principal determined at the server is based on precedence rules. If identity assertion is used, the identity is always derived from the attribute layer. If basic authentication is used without identity assertion, the identity is always derived from the message layer. Finally, if SSL client certificate authentication is performed without either basic authentication, or identity assertion, then the identity is derived from the transport layer.
The identity asserted is the invocation credential that is determined by the RunAs mode for the enterprise bean. If the RunAs mode is Client, the identity is the client identity. If the RunAs mode is System, the identity is the server identity. If the RunAs mode is Specified, the identity is the one specified. The receiving server receives the identity in an identity token and also receives the sending server identity in a client authentication token. The receiving server validates the sending server identity as a trusted identity through the Trusted Server IDs entry box. Enter a list of pipe-separated (|) principal names, for example, serverid1|serverid2|serverid3.
All identity token types map to the user ID field of the active user registry. For an ITTPrincipal identity token, this token maps one-to-one with the user ID fields. For an ITTDistinguishedName identity token, the value from the first equal sign is mapped to the user ID field. For an ITTCertChain identity token, the value from the first equal sign of the distinguished name is mapped to the user ID field.
When authenticating to an LDAP user registry, the LDAP filters determine how an identity of type ITTCertChain and ITTDistinguishedName get mapped to the registry. If the token type is ITTPrincipal, then the principal gets mapped to the UID field in the LDAP registry.
- Trusted identities
Trusted identity that is sent from the sending server to the receiving server.
Use this list to decide whether a server is trusted. Even if the server is on the list, the sending server must still authenticate with the receiving server to accept the identity token of the sending server.
Data type: String
- Client certificate authentication
Authentication occurs when the initial connection is made between the client and the server during a method request.
In the transport layer, SSL client certificate authentication occurs. In the message layer, basic authentication (user ID and password) is used. Client certificate authentication typically performs better than message layer authentication, but requires some additional setup. These additional steps involve verifying that the server trusts the signer certificate of each client to which it is connected. If the client uses a certificate authority (CA) to create its personal certificate, you only need the CA root certificate in the server signer section of the SSL trust file.
When the certificate is authenticated to a LDAP user registry, the distinguished name (DN) is mapped based on the filter specified when configuring LDAP. When the certificate is authenticated to a local OS user registry, the first attribute of the distinguished name (DN) in the certificate, which is typically the common name, is mapped to the user ID in the registry.
The identity from client certificates is used only if no other layer of authentication is presented to the server.
- Specifies that clients cannot attempt SSL client certificate authentication with this server.
- Specifies that clients connecting to this server can authenticate using SSL client certificates. However, the server can invoke a method without this type of authentication. For example, anonymous or basic authentication can be used instead.
- Specifies that clients connecting to this server must authenticate using SSL client certificates before invoking the method.
Whether client processes connect to the server using one of its connected transports.
We can choose either SSL, TCP/IP or both as the inbound transport that a server supports. If we specify TCP/IP, the server only supports TCP/IP and cannot accept SSL connections. If we specify SSL-supported, this server can support either TCP/IP or SSL connections. If we specify SSL-required, then any server communicating with this one must use SSL.
This option is not available on the z/OS platform unless both V6.0.x and earlier nodes exist in the cell.
- If we select TCP/IP, then the server opens a TCP/IP listener port only and all inbound requests do not have SSL protection.
- If we select SSL-required, then the server opens an SSL listener port only and all inbound requests are received using SSL.
- If we select SSL-supported, then the server opens both a TCP/IP and an SSL listener port and most inbound requests are received using SSL.
Provide a fixed port number for the following ports. A zero port number indicates that a dynamic assignment is made at run time.
Default: SSL-Supported Range: TCP/IP, SSL Required, SSL-Supported
- SSL settings
List of predefined SSL settings to choose from for inbound connection.
Data type: String Default: DefaultSSLSettings DefaultIIOPSSL Range: Any SSL settings configured in the SSL Configuration Repertoire
- Message layer authentication
The following options are available for message layer authentication:
- This server cannot accept user ID and password authentication.
- A client communicating with this server can specify a user ID and password. However, a method might be invoked without this type of authentication. For example, an anonymous or client certificate might be used instead.
- Specifies that clients communicating with this server must specify a user ID and password for any method request.
- Allow client to server authentication with:
Specifies client-to-server authentication using Kerberos, LTPA or Basic authentication.
The following options are available for client to server authentication:
- Kerberos (KRB5)
- Select to specify Kerberos as the authentication mechanism. You must first configure the Kerberos authentication mechanism. Read about Set Kerberos as the authentication mechanism for more information.
- Select to specify the LTPA token authentication
- Basic authentication
- Basic authentication is Generic Security Services Username (GSSUP). This type of authentication typically involves sending a user ID and a password from the client to the server for authentication.
If we select Basic Authentication and LTPA, and the active authentication mechanism is LTPA, a user name, password, and LTPA tokens are accepted.
If we select Basic Authentication and KRB5 and the active authentication mechanism is KRB5, a user name, password, Kerberos token and LTPA tokens are accepted.
If we do not select Basic Authentication, a user name and password are not accepted by the server.
- Login configuration
Type of system login configuration to use for inbound authentication.
We can add custom login modules by clicking Security > Global security. From Authentication, click Java Authentication and Authorization Service > System logins.
- Stateful sessions
Select this option to enable stateful sessions, which are used mostly for performance improvements.
The first contact between a client and server must fully authenticate. However, all subsequent contacts with valid sessions reuse the security information. The client passes a context ID to the server, and the ID is used to look up the session. The context ID is scoped to the connection, which guarantees uniqueness. Whenever the security session is not valid and the authentication retry is enabled, which is the default, the client-side security interceptor invalidates the client-side session and submits the request again without user awareness. This situation might occur if the session does not exist on the server; for example, the server failed and resumed operation. When this value is disabled, each method invocation must authenticate again.
- Trusted authentication realms - inbound
Select this link to establish inbound trust for realms. Inbound authentication realm settings are not specific to CSIv2; we can also configure which realms to grant inbound trust to for multiple security domains.
Inbound authentication refers to the configuration that determines the type of accepted authentication for inbound requests. This authentication is advertised in the interoperable object reference (IOR) that the client retrieves from the name server.
Set CSIv2 inbound communications
System login configuration entry settings for Java Authentication and Authorization Service
Authentication mechanisms and expiration