public interface IDirSystemBizPolicy extends com.webmethods.portal.bizPolicy.biz.IBizPolicy, IDirConstants
ADMIN_ROLE_ALIAS, ADMIN_USER_ALIAS, ATTR_DISABLED, ATTR_DN, ATTR_EMAIL, ATTR_NAME, ATTR_PASSWORD, CATEGORY_DIRECTORY, DELETED_THINGS_USER, DIR_SVC_CONTAINER, DIR_SVC_TYPE_CONTAINER, DIRECTORY_ROOT, DISPLAY_URI_SEGMENT, DOMAIN_PREFIX_SEPARATOR, EVERYONE_GROUP_ALIAS, FIRST_NAME, FULL_NAME, GROUP_DN_SEGMENT, GROUP_NAME, GUEST_USER_ALIAS, LAST_NAME, PAP_GROUP_TYPE_CONTAINER, PAP_PORTAL_ATTRIBUTES, PAP_ROLE_TYPE_CONTAINER, PAP_USER_TYPE_CONTAINER, ROLE_CURRENT_ROLES, ROLE_DN_SEGMENT, ROLE_PROVIDER_CONTAINER, ROLE_RELATION, ROLE_STORAGE_CONTAINER, SECURITY_SVC_CONTAINER, SYSTEM_DIRECTORY_SERVICE_ALIAS, TYPE_GROUP, TYPE_NAME_DIRECTORY_ROOT, TYPE_NAME_GROUP, TYPE_NAME_PRINCIPAL, TYPE_NAME_ROLE, TYPE_NAME_SERVICE, TYPE_NAME_USER, TYPE_ROLE, TYPE_USER, USER_DN_SEGMENT, USER_UUID
Modifier and Type | Method and Description |
---|---|
com.webmethods.portal.service.dir.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.
|
com.webmethods.portal.service.meta2.thing.IThingIDList |
listDirectoryServices(IContext context)
Retrieves the list of
IThing s which
are portlets which implement the IDirService
interface and are currently configured. |
com.webmethods.portal.service.meta2.thing.IThingIDList |
listDirectoryServiceTypes(IContext context)
Retrieves the list of
IThing s that
are portlets which implement the IDirService interface. |
com.webmethods.portal.service.meta2.thing.IThingIDList |
listPrincipalAttributeProviders(IContext context,
int type)
Gets all the avaliable
IPrincipalAttributeProvider for a specific type |
com.webmethods.portal.service.meta2.thing.IThingIDList |
listRoles(IContext context)
List the available roles
|
com.webmethods.portal.service.dir.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
|
com.webmethods.portal.service.dir.IDirPrincipal |
lookupPrincipalByDN(IContext context,
String principalDN,
int type)
Attempts to lookup a principal by their dn.
|
com.webmethods.portal.service.dir.IDirPrincipal |
lookupPrincipalByID(IContext context,
String principalID,
int type)
Attempts to lookup a principal by their id.
|
com.webmethods.portal.service.dir.IDirPrincipal |
lookupPrincipalByURI(IContext context,
IURI principalUri)
Attempts to lookup a principal by their dn.
|
com.webmethods.portal.service.dir.IDirUser authenticateUser(IContext context, String userid, String password) throws com.webmethods.portal.bizPolicy.BizException
context
- userid
- password
- IDirUser
which holds critical information describing the usercom.webmethods.portal.bizPolicy.BizException
com.webmethods.portal.service.meta2.thing.IThingIDList listRoles(IContext context) throws com.webmethods.portal.bizPolicy.BizException
context
- com.webmethods.portal.bizPolicy.BizException
com.webmethods.portal.service.meta2.thing.IThingIDList listDirectoryServices(IContext context) throws com.webmethods.portal.bizPolicy.BizException
IThing
s which
are portlets which implement the IDirService
interface and are currently configured.context
- com.webmethods.portal.bizPolicy.BizException
com.webmethods.portal.service.meta2.thing.IThingIDList listDirectoryServiceTypes(IContext context) throws com.webmethods.portal.bizPolicy.BizException
IThing
s that
are portlets which implement the 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
- com.webmethods.portal.bizPolicy.BizException
com.webmethods.portal.service.meta2.thing.IThingIDList listPrincipalAttributeProviders(IContext context, int type) throws com.webmethods.portal.bizPolicy.BizException
IPrincipalAttributeProvider
for a specific typecontext
- 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
com.webmethods.portal.bizPolicy.BizException
com.webmethods.portal.service.dir.IDirPrincipal lookupPrincipalByID(IContext context, String principalID, int type) throws com.webmethods.portal.bizPolicy.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
com.webmethods.portal.bizPolicy.BizException
com.webmethods.portal.service.dir.IDirPrincipal lookupPrincipalByDN(IContext context, String principalDN, int type) throws com.webmethods.portal.bizPolicy.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
com.webmethods.portal.bizPolicy.BizException
com.webmethods.portal.service.dir.IDirPrincipal lookupPrincipalByURI(IContext context, IURI principalUri) throws com.webmethods.portal.bizPolicy.BizException
context
- principalUri
- com.webmethods.portal.bizPolicy.BizException
com.webmethods.portal.service.dir.IDirPrincipal lookupPrincipalByAlias(IContext context, String alias) throws com.webmethods.portal.bizPolicy.BizException
com.webmethods.portal.bizPolicy.BizException