|
OracleAS PDK for Java 9.0.4.0.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--oracle.portal.provider.v2.security.PortletSecurityManager
|
+--oracle.portal.provider.v2.security.GroupSecurityManager
GroupSecurityManager is a simple access controller for a portlet that uses a user's membership of a group to control access. A user will be granted access to a portlet if the user is a member of a named group
| Constructor Summary | |
GroupSecurityManager()
|
|
| Method Summary | |
void |
addGroup(java.lang.String name)
Adds the group distinguished name for this security manager. |
boolean |
hasAccess(PortletReference ref,
ProviderUser user)
Verifies that the specified user is a member of one of the groups |
boolean |
hasAccess(ProviderInstance pi,
PortletDefinition pd,
ProviderUser user)
Verifies that the specified user is a member of one of the groups |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public GroupSecurityManager()
| Method Detail |
public boolean hasAccess(ProviderInstance pi,
PortletDefinition pd,
ProviderUser user)
hasAccess in class PortletSecurityManagerpi - the provider instance from which the portlet is being
accessed.pd - the definition of the portlet which we want to authorize
access to.user - the current user we are being asked to authorize.
public boolean hasAccess(PortletReference ref,
ProviderUser user)
throws PortletNotFoundException
hasAccess in class PortletSecurityManageruser - the current user we are being asked to authorize.ref - portlet reference
PortletNotFoundException
public void addGroup(java.lang.String name)
throws java.lang.IllegalStateException
name - String the group distinguished name
java.lang.IllegalStateException
|
OracleAS PDK for Java 9.0.4.0.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||