Methods Summary |
---|
public void | addUser(java.lang.String user, java.lang.String password, java.lang.String[] groupList)
try
{
mAuthRealmMBean.addUser( user, password, groupList );
}
catch( MBeanConfigException e )
{
throw new RuntimeException( "" + e );
}
|
public java.lang.String[] | getGroupNames()
try
{
return mAuthRealmMBean.getGroupNames();
}
catch( MBeanConfigException e )
{
throw new RuntimeException( "" + e );
}
|
private java.lang.String | getRealmName()
try
{
return (String)mHelper.getAttribute( "Name" );
}
catch( Exception e )
{
return null;
}
|
public java.lang.String[] | getUserGroupNames(java.lang.String user)
try
{
return mAuthRealmMBean.getUserGroupNames( user );
}
catch( MBeanConfigException e )
{
throw new RuntimeException( "" + e );
}
|
public java.lang.String[] | getUserNames()
//sdebug( "AuthRealmSupport.getUserNames(): " + getRealmName() );
try
{
final String[] userNames = mAuthRealmMBean.getUserNames();
//sdebug( "AuthRealmSupport.getUserNames(): " +
//getRealmName() + ": " + StringUtil.toString( userNames ) );
return userNames;
}
catch( MBeanConfigException e )
{
//sdebug( e.getMessage() );
//e.printStackTrace();
throw new RuntimeException( "" + e );
}
|
public void | removeUser(java.lang.String user)
try
{
mAuthRealmMBean.removeUser( user );
}
catch( MBeanConfigException e )
{
throw new RuntimeException( "" + e );
}
|
protected void | sdebug(java.lang.Object o)
System.out.println( "" + o );
|
public void | updateUser(java.lang.String user, java.lang.String password, java.lang.String[] groupList)
try
{
mAuthRealmMBean.updateUser( user, password, groupList );
}
catch( MBeanConfigException e )
{
throw new RuntimeException( "" + e );
}
|