javax.management.DynamicMBean
, javax.management.MBeanRegistration
, javax.management.NotificationBroadcaster
, RuntimeMBean
, WebLogicMBean
public interface ServerSecurityRuntimeMBean extends RuntimeMBean
This class is used for monitoring WebLogic Security Info.
Modifier and Type | Method | Description |
---|---|---|
boolean |
checkRole(java.lang.String roleName) |
Checks whether current Subject has the specified role.
|
boolean |
checkRole(java.lang.String[] roleNames) |
Checks whether current Subject has any of the required roles.
|
RealmRuntimeMBean |
getDefaultRealmRuntime() |
Returns the realm runtime mbean for the default realm from
when this server was booted.
|
java.lang.String |
getName() |
The user-specified name of this MBean instance.
|
RealmRuntimeMBean[] |
getRealmRuntimes() |
|
boolean |
isJACCEnabled() |
Indicates whether JACC (Java Authorization Contract for Containers)
was enabled on the commandline for the jvm hosting this server
|
RealmRuntimeMBean |
lookupRealmRuntime(java.lang.String realmName) |
|
void |
resetDefaultPolicies() |
Reset the default policies for the Admin realm.
|
getAttribute, getAttributes, invoke, setAttribute, setAttributes
postDeregister, postRegister, preRegister
addNotificationListener, getNotificationInfo, removeNotificationListener
addPropertyChangeListener, removePropertyChangeListener
getMBeanInfo, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setName, setParent
RealmRuntimeMBean getDefaultRealmRuntime()
Returns the realm runtime mbean for the default realm from when this server was booted.
boolean isJACCEnabled()
Indicates whether JACC (Java Authorization Contract for Containers) was enabled on the commandline for the jvm hosting this server
RealmRuntimeMBean[] getRealmRuntimes()
RealmRuntimeMBean lookupRealmRuntime(java.lang.String realmName)
realmName
- java.lang.String getName()
The user-specified name of this MBean instance.
This name is included as one of the key properties in the
MBean's javax.management.ObjectName
:
Name=user-specified-name
getName
in interface WebLogicMBean
boolean checkRole(java.lang.String roleName) throws ManagementException
Checks whether current Subject has the specified role.
roleName
- Name of the role to check if the Subject has the specified role.ManagementException
- Exception that will encapsulate the reason for the failureboolean checkRole(java.lang.String[] roleNames) throws ManagementException
roleNames
- Names of the roles to check if the Subject has one of the specified roles.ManagementException
- Exception that will encapsulate the reason for the failurevoid resetDefaultPolicies() throws ManagementException
Reset the default policies for the Admin realm.
ManagementException