|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jackrabbit.core.security.principal.PrincipalManagerImpl
public class PrincipalManagerImpl
This principal manager implementation uses the DefaultPrincipalProvider
in order to dispatch the respective requests and assemble the required
data. It is bound to a session and therefore obliges the access restrictions
of the respective subject.
| Field Summary |
|---|
| Fields inherited from interface org.apache.jackrabbit.api.security.principal.PrincipalManager |
|---|
SEARCH_TYPE_ALL, SEARCH_TYPE_GROUP, SEARCH_TYPE_NOT_GROUP |
| Constructor Summary | |
|---|---|
PrincipalManagerImpl(Session session,
PrincipalProvider[] providers)
Creates a new default principal manager implementation. |
|
| Method Summary | |
|---|---|
PrincipalIterator |
findPrincipals(String simpleFilter)
|
PrincipalIterator |
findPrincipals(String simpleFilter,
int searchType)
|
Principal |
getEveryone()
|
PrincipalIterator |
getGroupMembership(Principal principal)
|
Principal |
getPrincipal(String principalName)
|
PrincipalIterator |
getPrincipals(int searchType)
|
boolean |
hasPrincipal(String principalName)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PrincipalManagerImpl(Session session,
PrincipalProvider[] providers)
session - the underlying sessionproviders - the providers| Method Detail |
|---|
public boolean hasPrincipal(String principalName)
hasPrincipal in interface PrincipalManagerpublic Principal getPrincipal(String principalName)
getPrincipal in interface PrincipalManagerpublic PrincipalIterator findPrincipals(String simpleFilter)
findPrincipals in interface PrincipalManager
public PrincipalIterator findPrincipals(String simpleFilter,
int searchType)
findPrincipals in interface PrincipalManagerpublic PrincipalIterator getPrincipals(int searchType)
getPrincipals in interface PrincipalManagersearchType - public PrincipalIterator getGroupMembership(Principal principal)
getGroupMembership in interface PrincipalManagerpublic Principal getEveryone()
getEveryone in interface PrincipalManager
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||