|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IDirSystemBizPolicy
Provides system level biz policies (commands) for the directory system
Field Summary |
---|
Method Summary | |
---|---|
IDirUser |
authenticateUser(IContext context,
String userid,
String password)
Attempts to authenticate the user based on the credentials with any registered directory service in their configured search order. |
IThingIDList |
listDirectoryServices(IContext context)
Retrieves the list of com.webmethods.portal.service.meta2.thing.IThing s which
are portlets which implement the com.webmethods.portal.service.dir.IDirService
interface and are currently configured. |
IThingIDList |
listDirectoryServiceTypes(IContext context)
Retrieves the list of com.webmethods.portal.service.meta2.thing.IThing s that
are portlets which implement the com.webmethods.portal.service.dir.IDirService interface. |
IThingIDList |
listPrincipalAttributeProviders(IContext context,
int type)
Gets all the avaliable com.webmethods.portal.service.dir.IPrincipalAttributeProvider for a specific type |
IThingIDList |
listRoles(IContext context)
List the available roles |
IDirPrincipal |
lookupPrincipalByAlias(IContext context,
String alias)
The aliases can be one of the following: ADMIN_USER_ALIAS: dir.admin.user EVERYONE_GROUP_ALIAS: dir.everyone.group GUEST_USER_ALIAS: dir.guest.user ADMIN_ROLE_ALIAS: dir.admin.role |
IDirPrincipal |
lookupPrincipalByDN(IContext context,
String principalDN,
int type)
Attempts to lookup a principal by their dn. |
IDirPrincipal |
lookupPrincipalByID(IContext context,
String principalID,
int type)
Attempts to lookup a principal by their id. |
IDirPrincipal |
lookupPrincipalByURI(IContext context,
IURI principalUri)
Attempts to lookup a principal by their dn. |
Method Detail |
---|
IDirUser authenticateUser(IContext context, String userid, String password) throws BizException
context
- userid
- password
-
IDirUser
which holds critical information describing the user
BizException
IThingIDList listRoles(IContext context) throws BizException
context
-
BizException
IThingIDList listDirectoryServices(IContext context) throws BizException
com.webmethods.portal.service.meta2.thing.IThing
s which
are portlets which implement the com.webmethods.portal.service.dir.IDirService
interface and are currently configured.
context
-
BizException
IThingIDList listDirectoryServiceTypes(IContext context) throws BizException
com.webmethods.portal.service.meta2.thing.IThing
s that
are portlets which implement the com.webmethods.portal.service.dir.IDirService
interface. These are default instances that are available
to be published and configured, but are not currently active. Think of these as templates.
context
-
BizException
IThingIDList listPrincipalAttributeProviders(IContext context, int type) throws BizException
com.webmethods.portal.service.dir.IPrincipalAttributeProvider
for a specific type
context
- type
- one of com.webmethods.portal.service.dir.IDirSystem.TYPE_USER
com.webmethods.portal.service.dir.IDirSystem.TYPE_GROUP
or com.webmethods.portal.service.dir.IDirSystem.TYPE_ROLE
BizException
IDirPrincipal lookupPrincipalByID(IContext context, String principalID, int type) throws BizException
context
- principalID
- type
- one of com.webmethods.portal.service.dir.IDirSystem.TYPE_USER
com.webmethods.portal.service.dir.IDirSystem.TYPE_GROUP
or com.webmethods.portal.service.dir.IDirSystem.TYPE_ROLE
BizException
IDirPrincipal lookupPrincipalByDN(IContext context, String principalDN, int type) throws BizException
context
- principalDN
- type
- one of com.webmethods.portal.service.dir.IDirSystem.TYPE_USER
com.webmethods.portal.service.dir.IDirSystem.TYPE_GROUP
or com.webmethods.portal.service.dir.IDirSystem.TYPE_ROLE
BizException
IDirPrincipal lookupPrincipalByURI(IContext context, IURI principalUri) throws BizException
context
- principalUri
-
BizException
IDirPrincipal lookupPrincipalByAlias(IContext context, String alias) throws BizException
BizException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |