Methods Summary |
---|
private void | checkDefaultProps(java.util.Map optional)
final String keyFile = optional == null ?
null : (String)optional.get( KEY_FILE_PROPERTY_KEY );
if ( keyFile == null )
{
throw new IllegalArgumentException(
"Must specify a key file using KEY_FILE_PROPERTY_KEY in options Map" );
}
final String jaasContext = optional == null ?
null : (String)optional.get( JAAS_CONTEXT_PROPERTY_KEY );
if ( jaasContext == null )
{
throw new IllegalArgumentException(
"Must specify a JAAS context file using JAAS_CONTEXT_PROPERTY_KEY in options Map" );
}
|
public javax.management.ObjectName | create(java.lang.String name, java.lang.String className, java.util.Map optional)
if ( className.equals( DEFAULT_REALM_CLASSNAME ) )
{
checkDefaultProps( optional );
}
final String[] requiredParams = { CLASSNAME_KEY, className, };
final Map<String,String> params =
initParams( name, requiredParams, optional );
final ObjectName amxName = createNamedChild( name, params );
return amxName;
|
protected javax.management.ObjectName | createOldChildConfig(javax.management.AttributeList translatedAttrs, java.util.Properties props)The caller is responsible for dealing with any Properties.
final String target = getConfigName();
final ObjectName objectName =
getOldConfigsMBean().createAuthRealm(
translatedAttrs, props, target);
return( objectName );
|
private final com.sun.enterprise.management.support.oldconfig.OldConfigsMBean | getOldConfigsMBean()
final OldConfigsMBean oldConfigs =
getOldConfigProxies().getOldConfigsMBean();
return( oldConfigs );
|
private final com.sun.enterprise.management.support.oldconfig.OldSecurityServiceMBean | getOldSecurityServiceMBean()
final OldSecurityServiceMBean oldSecurityService =
getOldConfigProxies().getOldSecurityServiceMBean( getConfigName() );
return( oldSecurityService );
|
protected final void | removeByName(java.lang.String authLayer)
getOldSecurityServiceMBean().removeAuthRealmByName( authLayer );
|