public interface IDirService extends IPrincipalAttributeProvider
IDirConfig
. It's queried by using the IDirQueryProvider
,
and its users and groups are managed by using the IDirPrincipalProvider
. It is an IComponent
, so
it is managed by it's IComponentProvider
which happens to be the IDirSystem
.
Note Authentication is provided as a method on the IDirPrincipalProvider
interface.
Ultimately, it is deployed as a Portlet, so it also lives inside of the Portlet framework regarding deployment, undeployment thing-based as well as acl-controlled.
CREATE_GROUP_MODE, CREATE_USER_MODE, CURRENT_PRINCIPAL
Modifier and Type | Method and Description |
---|---|
IDirCache |
getDirCache()
Retrieves the directory cache provider which
may cache dns/directory uris/searches or any combination
|
IDirConfig |
getDirConfig()
Retrieves the directory configuration associated with this directory service
|
IDirPrincipalProvider |
getDirPrincipalProvider()
Retrieves the directory principal provider
which can add/update/delete users and groups as well as manage user/group memberships
|
IDirQueryProvider |
getDirQueryProvider()
Retrieves the directory query provider which can search and list users and groups
|
boolean |
isEnabled()
Some services might need to be disabled
|
boolean |
isLdapDirectory()
There is only one system directory and that is the internal directory
|
boolean |
isSystemDirectory()
There is only one system directory and that is the internal directory
|
boolean |
supportsNestedGroups()
Indicates whether nested groups are supported
|
boolean |
testConnection()
Tests the connection to the directory service
|
getAttribute, getAttributeNames, getAttributes, getAttributeTitle, getAttributeTitles, setAttribute
getPortletBean
getComponentData, getComponentName, getComponentProvider, getURI, isInitialized, setComponentData, setComponentProvider
init, shutdown
IDirConfig getDirConfig()
IDirQueryProvider getDirQueryProvider()
IDirPrincipalProvider getDirPrincipalProvider()
IDirCache getDirCache()
boolean isSystemDirectory()
boolean isLdapDirectory()
boolean isEnabled()
boolean supportsNestedGroups()
boolean testConnection()