# com.bea.p13n.usermgmt.config
RealmConfiguration Interface

public interface RealmConfiguration
extends `EJBObject`

This is the public interface for keeping personalization profile records in sync with the WLS realm.

All Superinterfaces
  `EJBObject`, `Remote`

## Method Summary

`public void` | `cleanupMisconfiguredGroups`() Removes misconfigured groups (those found in the database but not in the realm) from the database.
`public void` | `cleanupMisconfiguredUsers`() Removes misconfigured users (those found in the database but not in the realm) from the database.
`public `String`[]` | `getGroupProfileNames`() Returns just the groups found in the database.
`public `String`[]` | `getMisconfiguredGroups`() Returns the group names that exist in the database, but not in the realm.
`public `String`[]` | `getMisconfiguredUsers`() Returns the usernames that exist in the database, but not in the realm.
`public `String`[]` | `getRealmGroups`() Get a list of groups in the realm
`public `String`[]` | `getRealmUsers`() Get a list of groups in the realm
`public `String`[]` | `getUserProfileNames`() Returns just the users found in the database.
`public boolean` | `isManageableRealm`() Determine if the current realm is writable.

Methods from interface `javax.ejb.`EJBObject``
`getEJBHome, getHandle, getPrimaryKey, isIdentical, remove`

## Method Detail

### cleanupMisconfiguredGroups() Method

    public void cleanupMisconfiguredGroups()
         throws RemoteException

Removes misconfigured groups (those found in the database but not in the realm) from the database.

#### Returns

a status message for the operation

#### Exceptions

``RemoteException``

### cleanupMisconfiguredUsers() Method

    public void cleanupMisconfiguredUsers()
         throws RemoteException

Removes misconfigured users (those found in the database but not in the realm) from the database.

#### Returns

a status message for the operation

#### Exceptions

``RemoteException``

### getGroupProfileNames() Method

    public String[] getGroupProfileNames()
         throws RemoteException

Returns just the groups found in the database.

#### Returns

a list of groups in the database

#### Exceptions

``RemoteException``

### getMisconfiguredGroups() Method

    public String[] getMisconfiguredGroups()
         throws RemoteException

Returns the group names that exist in the database, but not in the realm.

#### Returns

the names for the groups that are misconfigured

#### Exceptions

``RemoteException``

### getMisconfiguredUsers() Method

    public String[] getMisconfiguredUsers()
         throws RemoteException

Returns the usernames that exist in the database, but not in the realm.

#### Returns

the usersnames for the users that are misconfigured

#### Exceptions

``RemoteException``

### getRealmGroups() Method

    public String[] getRealmGroups()
         throws RemoteException

Get a list of groups in the realm

#### Exceptions

``RemoteException``

### getRealmUsers() Method

    public String[] getRealmUsers()
         throws RemoteException

Get a list of groups in the realm

#### Exceptions

``RemoteException``

### getUserProfileNames() Method

    public String[] getUserProfileNames()
         throws RemoteException

Returns just the users found in the database.

#### Returns

a list of usernames in the database

#### Exceptions

``RemoteException``

### isManageableRealm() Method

    public boolean isManageableRealm()
         throws RemoteException

Determine if the current realm is writable.

#### Returns

true if it is, false otherwise.

#### Exceptions

``RemoteException``