nl.gx.webmanager.services.usermanager
Interface RealmManager


public interface RealmManager

Defines the interface of the OSGi service that delivers Realm instances of a specific RealmType type for a specific Website.

Note that Realm instances returned by this manager are not required to be thread-safe.


Method Summary
 Realm getRealm(Website website, RealmType type)
          Obtains an instance of a Realm for the given Website from the given RealmType.
 

Method Detail

getRealm

Realm getRealm(Website website,
               RealmType type)
               throws UserManagementException
Obtains an instance of a Realm for the given Website from the given RealmType.

Parameters:
website - The Website that the Realm belongs to.
type - The RealmType of the requested Realm.
Returns:
a Realm instance
Throws:
UserManagementException - when operation fails


Copyright © 2007-2011 GX Software BV. All Rights Reserved.