Skip navigation links

Oracle Fusion Middleware MBeans Java API Reference for Oracle Platform Security Services
11g Release 1 (11.1.1)

E14651-05


oracle.security.jps.mas.mgmt.jmx.policy
Interface JpsAdminRoleMXBean


@Description(resourceKey="oracle.security.jps.management.JpsAdminRoleStoreMXBean.",
             resourceBundleBasename="oracle_security_jps_mas_mgmt_util_JpsManagementMessages")
@ImmutableInfo(value="true")
@Since(value="11.1.1.0.0")
@Visibility(value=Advanced)
@SystemMBean
public interface JpsAdminRoleMXBean

This interface defines the management operations to check the role to which the current user belongs.


Field Summary
static java.lang.String RBN
          Data member to hold the Resource Bundle that will be used.

 

Method Summary
 boolean checkRole(java.lang.String roleName)
          Checks whether current Subject running in MBeanServer is having the required logical role.
 boolean checkRole(java.lang.String[] roleNames)
          Checks whether current Subject running in MBeanServer is having the required logical roles.

 

Field Detail

RBN

static final java.lang.String RBN
Data member to hold the Resource Bundle that will be used.
See Also:
Constant Field Values

Method Detail

checkRole

@Description(resourceKey="oracle.security.jps.management.JpsAdminRoleStoreMXBean.checkRole",
             resourceBundleBasename="oracle_security_jps_mas_mgmt_util_JpsManagementMessages")
@Impact(value=0)
boolean checkRole(java.lang.String roleName)
                  throws oracle.as.jmx.framework.exceptions.ManagementException
Checks whether current Subject running in MBeanServer is having the required logical role.
Parameters:
roleName - Name of the role for which the Subject has to be checked with.
Returns:
boolean
Throws:
oracle.as.jmx.framework.exceptions.ManagementException - Exception that will encapsulate the reason for the failure server object

checkRole

@Description(resourceKey="oracle.security.jps.management.JpsAdminRoleStoreMXBean.checkRole",
             resourceBundleBasename="oracle_security_jps_mas_mgmt_util_JpsManagementMessages")
@Impact(value=0)
boolean checkRole(java.lang.String[] roleNames)
                  throws oracle.as.jmx.framework.exceptions.ManagementException
Checks whether current Subject running in MBeanServer is having the required logical roles.
Parameters:
roleNames - Names of the roles for which the Subject has to be checked with.
Returns:
boolean
Throws:
oracle.as.jmx.framework.exceptions.ManagementException - Exception that will encapsulate the reason for the failure server object

Skip navigation links

Oracle Fusion Middleware MBeans Java API Reference for Oracle Platform Security Services
11g Release 1 (11.1.1)

E14651-05


Copyright © 2011, Oracle. All rights reserved.