Tutorial: How to Create a WebCenter Portlet that Valides if a User is Member of a Group / Role
(Doc ID 1970166.1)
Last updated on JANUARY 14, 2021
Applies to:Oracle WebCenter Portal - Version 188.8.131.52.0 to 184.108.40.206.0 [Release 11g]
Information in this document applies to any platform.
This tutorial demostrates how to create a WebCenter Portlet that validates if the current User is a Member of a Group / Role.
In some cases, it is required to validate if a user is member of a Group or Role to so additional validtions/tasks may be performed.
One solution is to create group(s) in the external LDAP server and validate the user's group membership in the portlet using the securityContext.userInRole API in conjunction with WS-Security.
Thereafter, privileges may be granted in Portal (as defined by Portal Roles) to groups in the external LDAP server.
For example, groups in external LDAP server may be matched with Portal Roles as follows:
|External LDAP Group||Portal Role|
This tutorial will highlight a demonstration of this. For this exercise, a group called "ProducerDemoRole" shall be used.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document