+

Search Tips   |   Advanced Search

Full profile vs Liberty profile: Security

The configuration differences in the security capability between the Liberty profile and full profile indicates the items that we might need to know during applications migration.

The Liberty profile security supports only a subset of security features in the full profile. Unless the support is explicitly mentioned in the Liberty profile documentation, assume that the support is not available yet.

The following security features are not included in the Liberty profile:

In the Liberty profile, we can configure user-to-role mappings and RunAs users in the application-bnd element of server.xml. For a Run-As entry, the password is optional. In the full profile, we can only configure the Run-AS entry in the ibm-application-bnd.xml/xmi file. For a Run-As entry, the password is required. See Configure authorization for applications .

In the Liberty profile, role names can be referenced by the HttpServletRequest.isUserInRole and EJBContext.isCallerInRole APIs or by elements in the deployment descriptor without first declaring the role names using the @DeclareRoles annotation or the <security-role/> element in the deployment descriptor. However, roles must be declared before being used in the full profile.


Parent topic: Security