|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IDirectoryPrincipal
Base interface for all directory principal object: users, groups and roles
Nested Class Summary | |
---|---|
static class |
IDirectoryPrincipal.ATTR_NAMES
Well known attribute names for the principal attribute providers |
Field Summary | |
---|---|
static int |
TYPE_GROUP
|
static int |
TYPE_ROLE
|
static int |
TYPE_USER
|
Method Summary | |
---|---|
Map |
getAllAttributes()
Returns all principal attributes aggregated from all defined principal attribute providers for this principal type |
Object |
getAttribute(String attributeName)
Returns principal attribute value. |
IDirectoryService |
getDirectoryService()
Returns directory service principal belongs to. |
String |
getDN()
Unique DN for this directory principal |
String |
getEmail()
Get the email attribute for this principal |
String |
getName()
Get the name of this directory principal, meaning the identifying attribute. |
int |
getType()
|
Methods inherited from interface com.webmethods.sc.directory.IDirectoryObject |
---|
getDirectorySession, getID |
Field Detail |
---|
static final int TYPE_USER
static final int TYPE_GROUP
static final int TYPE_ROLE
Method Detail |
---|
IDirectoryService getDirectoryService() throws DirectoryException
IDirectoryRole
and will
return null in this case
DirectoryException
String getDN() throws DirectoryException
DirectoryException
int getType() throws DirectoryException
IDirSystem#TYPE_USER
or IDirSystem#TYPE_GROUP
or IDirSystem#TYPE_ROLE
DirectoryException
String getName() throws DirectoryException
DirectoryException
String getEmail() throws DirectoryException
DirectoryException
Object getAttribute(String attributeName) throws DirectoryException
attributeName
-
DirectoryException
Map getAllAttributes() throws DirectoryException
DirectoryException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |