|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The SecurityExtension
interface should be implemented by developers
who want to create a console extension to configure and manage a custom security provider.
The SecurityExtension
interface can be implemented in place of, or in addition
to, extending the Extension
class.
Each of the methods in this interface should return a URI (including a query
string, if desired) that is relative to the console extension's Web application root
(for example: /custom/pages/User?user=myuser
).
Extension
Method Summary | |
java.lang.String |
getExtensionForGroup(javax.management.ObjectName realm,
javax.management.ObjectName provider,
java.lang.String groupName)
Called when an Administration Console user wants to create or edit a group. |
java.lang.String |
getExtensionForPolicy(javax.management.ObjectName realm,
javax.management.ObjectName provider,
java.lang.String resource)
Called when an Administration Console user wants to create or edit a security policy. |
java.lang.String |
getExtensionForProvider(javax.management.ObjectName realm,
java.lang.String providerClass,
javax.management.ObjectName provider)
Called when an Administration Console user wants to configure a new a custom security provider or edit the configuration for an existing custom security provider. |
java.lang.String |
getExtensionForRole(javax.management.ObjectName realm,
javax.management.ObjectName provider,
java.lang.String resource,
java.lang.String roleName)
Called when an Administration Console user wants to create or edit a role. |
java.lang.String |
getExtensionForUser(javax.management.ObjectName realm,
javax.management.ObjectName provider,
java.lang.String userName)
Called when an Administration Console user wants to create or edit a user. |
Method Detail |
public java.lang.String getExtensionForProvider(javax.management.ObjectName realm, java.lang.String providerClass, javax.management.ObjectName provider)
realm
- the JMX object name of the current security realm MBean.providerClass
- the class name of the custom security provider's MBean type, which
is useful for creating a new MBean instance (that is, creating a new
custom security provider configuration).provider
- the JMX object name of the custom security provider that is to be
edited, or null
if a new custom security provider of this
class should be configured.null
indicates that the console extension
has no page to configure this custom security provider.public java.lang.String getExtensionForUser(javax.management.ObjectName realm, javax.management.ObjectName provider, java.lang.String userName)
realm
- the JMX object name of the current security realm MBean.provider
- the JMX object name of the custom security provider that is associated
with this user, or, in the case of a request to create a new user, the
custom security provider that the Administration Console user selected.userName
- the name of the user to be displayed, or null
if this is a
request to create a new user.null
indicates that the console extension
has no page to configure this user.public java.lang.String getExtensionForGroup(javax.management.ObjectName realm, javax.management.ObjectName provider, java.lang.String groupName)
realm
- the JMX object name of the current security realm MBean.provider
- the JMX object name of the custom security provider that is associated
with this group, or, in the case of a request to create a new group, the
custom security provider that the Administration Console user selected.groupName
- the name of the group to be displayed, or null
if this is a
request to create a new group.null
indicates that the console extension
has no page to configure this group.public java.lang.String getExtensionForRole(javax.management.ObjectName realm, javax.management.ObjectName provider, java.lang.String resource, java.lang.String roleName)
realm
- the JMX object name of the current security realm MBean.provider
- the JMX object name of the custom security provider that is associated
with this role, or, in the case of a request to create a new role, the
custom security provider that the Administration Console user selected.resource
- the name of the WebLogic resource, or an empty string if this role is to
be a global role.roleName
- the name of the role to be displayed, or null
if this is a
request to create a new role.null
indicates that the console extension
has no page to configure this role.public java.lang.String getExtensionForPolicy(javax.management.ObjectName realm, javax.management.ObjectName provider, java.lang.String resource)
realm
- the JMX object name of the current security realm MBean.provider
- the JMX object name of the custom security provider that is associated
with this security policy, or, in the case of a request to create a new security policy, the
custom security provider that the Administration Console user selected.resource
- the resource ID for the WebLogic resource, which this security policy manages.null
indicates that the console extension
has no page to configure this security policy.
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs81 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |