|
Oracle Fusion Middleware Java API Reference for Oracle PDK Java 11g Release 1 (11.1.1) E10691-01 |
||||||||
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
public abstract class PortletSecurityManager
A PortletSecurityManager is the access controller for a portlet. If the Portlet restricts its capabilities in any manner it implements a PortletSecurityManager. The manager is responsible for authorizing (but not authenticating) the user. There are two authorization levels. The first level checks whether the user is authorized to use this Portlet. The second level checks whether the user is authorized to use a particular instance of this Portlet.
Constructor Summary | |
---|---|
PortletSecurityManager()
|
Method Summary | |
---|---|
abstract boolean |
hasAccess(PortletReference ref,
ProviderUser user)
Verifies whether the user is authorized to use this particular portlet instance. |
abstract boolean |
hasAccess(ProviderInstance pi,
PortletDefinition p,
ProviderUser user)
Verifies whether the user is authorized to use this Portlet. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PortletSecurityManager()
Method Detail |
---|
public abstract boolean hasAccess(ProviderInstance pi, PortletDefinition p, ProviderUser user)
pi
- the provider instance from which the portlet is being
accessed.p
- the definition of the portlet which we want to authorize
access to.user
- the current user we are being asked to authorize.
public abstract boolean hasAccess(PortletReference ref, ProviderUser user) throws PortletNotFoundException
ref
- portlet referenceuser
- the current user we are being asked to authorize.
PortletNotFoundException
|
Oracle Fusion Middleware Java API Reference for Oracle PDK Java 11g Release 1 (11.1.1) E10691-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |