Class RealmsImpl
- java.lang.Object
-
- org.glassfish.admin.amx.impl.mbean.MBeanImplBase
-
- org.glassfish.admin.amx.impl.mbean.AMXImplBase
-
- org.glassfish.admin.amx.impl.mbean.RealmsImpl
-
- All Implemented Interfaces:
DynamicMBean,MBeanRegistration,NotificationBroadcaster,NotificationEmitter,AMX_SPI,NotificationSender
public final class RealmsImpl extends AMXImplBase
AMX Realms implementation. Note that realms don't load untilloadRealms()is called.
-
-
Field Summary
-
Fields inherited from class org.glassfish.admin.amx.impl.mbean.AMXImplBase
EMPTY_OBJECT_NAMES, GET, GET_PREFIX, mMBeanInfo, OBJECT_NAME_SUFFIX, SET
-
Fields inherited from class org.glassfish.admin.amx.impl.mbean.MBeanImplBase
EMPTY_STRING_ARRAY, mSelfObjectName, mServer
-
-
Constructor Summary
Constructors Constructor Description RealmsImpl(ObjectName containerObjectName)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddUser(String realmName, String user, String password, String[] groupList)StringgetAnonymousUser()StringgetDefaultRealmName()String[]getGroupNames(String realmName)String[]getGroupNames(String realmName, String user)String[]getPredefinedAuthRealmClassNames()String[]getRealmNames()static RealmsManagergetRealmsManager()Map<String,Object>getUserAttributes(String realmName, String username)String[]getUserNames(String realmName)voidremoveUser(String realmName, String user)voidsetDefaultRealmName(String realmName)booleansupportsUserManagement(String realmName)voidupdateUser(String realmName, String existingUser, String newUser, String password, String[] groupList)-
Methods inherited from class org.glassfish.admin.amx.impl.mbean.AMXImplBase
attributeNameToType, attributeTypeMatches, child, child, child, findGetter, findMethod, findSetter, getAncestorByType, getAttribute, getAttributeByMethod, getAttributeInfo, getAttributeInfos, getAttributeInternal, getAttributeManually, getAttributeNames, getAttributeNoThrow, getAttributes, getAttributeType, getChildren, getChildren, getChildren, getChildren, getChildrenMap, getDomainRoot, getDomainRootProxy, getLogger, getMBeanInfo, getMBeanTracker, getName, getNotificationInfo, getObjectNameAttribute, getObjectNames, getObjectNamesForAttribute, getParent, getParentProxy, getProxy, getProxyFactory, getSelf, getSelf, getterNameMatches, handleException, handleGetAttributeException, handleInvokeThrowable, impossible, invoke, invokeManually, isReadOnlyAttribute, isUtilityMBean, java, operationNameMatches, postRegisterHook, postRegisterModifyMBeanInfo, preDeregisterHook, preRegister, preRegisterDone, preRegisterHook, preRegisterModifyName, registerChild, registerChildren, sendAttributeChangeNotification, setAttribute, setAttributeByMethod, setAttributeInternal, setAttributeManually, setAttributes, shouldEmitNotifications, stringify, supportsChildren, toString, unimplementedAttribute, unimplementedOperation, unregisterChildren
-
Methods inherited from class org.glassfish.admin.amx.impl.mbean.MBeanImplBase
_getMBeanLogLevel, addNotificationListener, addNotificationListener, createNotificationBuilder, debug, debug, debugMethod, debugMethod, enableAMXDebug, getAMXDebug, getDebugID, getDebugOutput, getJMXDomain, getListenerCount, getMBeanLogger, getMBeanLoggerName, getMBeanLogLevel, getMBeanLogLevelInt, getMBeanServer, getNotificationBuilder, getNotificationEmitter, getNotificationTypeListenerCount, getObjectName, logFine, logFiner, logFinest, logInfo, logSevere, logWarning, postDeregister, postDeregisterHook, postRegister, preDeregister, quote, removeNotificationListener, removeNotificationListener, sendNotification, sendNotification, sendNotification, sendNotification, setAMXDebug, setMBeanLogLevel, shouldOmitObjectNameForDebug, toString, trace
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface javax.management.NotificationBroadcaster
addNotificationListener, removeNotificationListener
-
Methods inherited from interface javax.management.NotificationEmitter
removeNotificationListener
-
-
-
-
Constructor Detail
-
RealmsImpl
public RealmsImpl(ObjectName containerObjectName)
-
-
Method Detail
-
getRealmsManager
public static RealmsManager getRealmsManager()
-
getRealmNames
public String[] getRealmNames()
-
getPredefinedAuthRealmClassNames
public String[] getPredefinedAuthRealmClassNames()
-
getDefaultRealmName
public String getDefaultRealmName()
-
setDefaultRealmName
public void setDefaultRealmName(String realmName)
-
updateUser
public void updateUser(String realmName, String existingUser, String newUser, String password, String[] groupList)
-
supportsUserManagement
public boolean supportsUserManagement(String realmName)
-
getAnonymousUser
public String getAnonymousUser()
-
-