Package org.apache.sling.testing.mock.jcr

# Klasse MockPrincipalManager

java.lang.Object
org.apache.sling.testing.mock.jcr.MockPrincipalManager

Alle implementierten Schnittstellen:
  `org.apache.jackrabbit.api.security.principal.PrincipalManager`

public class MockPrincipalManager extends Object implements org.apache.jackrabbit.api.security.principal.PrincipalManager

## Feldübersicht

Felder
Modifizierer und Typ
Feld
Beschreibung
`protected MockUserManager`
`mockUserManager`

### Von Schnittstelle geerbte Felder org.apache.jackrabbit.api.security.principal.PrincipalManager

`SEARCH_TYPE_ALL, SEARCH_TYPE_GROUP, SEARCH_TYPE_NOT_GROUP`

## Methodenübersicht

Modifizierer und Typ
Methode
Beschreibung
`@NotNull org.apache.jackrabbit.api.security.principal.PrincipalIterator`
`findPrincipals(@Nullable String simpleFilter)`
`@NotNull org.apache.jackrabbit.api.security.principal.PrincipalIterator`
`findPrincipals(@Nullable String simpleFilter, int searchType)`
`@NotNull Principal`
`getEveryone()`
`@NotNull org.apache.jackrabbit.api.security.principal.PrincipalIterator`
`getGroupMembership(@NotNull Principal principal)`
`@Nullable Principal`
`getPrincipal(@NotNull String principalName)`
`@NotNull org.apache.jackrabbit.api.security.principal.PrincipalIterator`
`getPrincipals(int searchType)`
`boolean`
`hasPrincipal(@NotNull String principalName)`

### Von Klasse geerbte Methoden java.lang.Object

`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

## Felddetails

### mockUserManager

protected MockUserManager mockUserManager

## Methodendetails

### findPrincipals

@NotNull public @NotNull org.apache.jackrabbit.api.security.principal.PrincipalIterator findPrincipals(@Nullable @Nullable String simpleFilter)

Angegeben von:
  `findPrincipals` in Schnittstelle `org.apache.jackrabbit.api.security.principal.PrincipalManager`

### findPrincipals

@NotNull public @NotNull org.apache.jackrabbit.api.security.principal.PrincipalIterator findPrincipals(@Nullable @Nullable String simpleFilter, int searchType)

Angegeben von:
  `findPrincipals` in Schnittstelle `org.apache.jackrabbit.api.security.principal.PrincipalManager`

### getEveryone

@NotNull public @NotNull Principal getEveryone()

Angegeben von:
  `getEveryone` in Schnittstelle `org.apache.jackrabbit.api.security.principal.PrincipalManager`

### getGroupMembership

@NotNull public @NotNull org.apache.jackrabbit.api.security.principal.PrincipalIterator getGroupMembership(@NotNull @NotNull Principal principal)

Angegeben von:
  `getGroupMembership` in Schnittstelle `org.apache.jackrabbit.api.security.principal.PrincipalManager`

### getPrincipal

@Nullable public @Nullable Principal getPrincipal(@NotNull @NotNull String principalName)

Angegeben von:
  `getPrincipal` in Schnittstelle `org.apache.jackrabbit.api.security.principal.PrincipalManager`

### getPrincipals

@NotNull public @NotNull org.apache.jackrabbit.api.security.principal.PrincipalIterator getPrincipals(int searchType)

Angegeben von:
  `getPrincipals` in Schnittstelle `org.apache.jackrabbit.api.security.principal.PrincipalManager`

### hasPrincipal

public boolean hasPrincipal(@NotNull @NotNull String principalName)

Angegeben von:
  `hasPrincipal` in Schnittstelle `org.apache.jackrabbit.api.security.principal.PrincipalManager`