public class TestPrincipalProvider extends Object implements org.apache.jackrabbit.core.security.principal.PrincipalProvider
Some parts copied from SimplePrincipalProvider.
Modifier and Type | Field and Description |
---|---|
static CredentialsStrategy |
adminCredentialsStrategy |
static javax.jcr.Repository |
repository |
static org.pentaho.platform.api.engine.security.userroledao.IUserRoleDao |
userRoleDao |
Constructor and Description |
---|
TestPrincipalProvider() |
TestPrincipalProvider(boolean primeWithSampleUsers) |
Modifier and Type | Method and Description |
---|---|
boolean |
canReadPrincipal(javax.jcr.Session session,
Principal principal) |
void |
close() |
org.apache.jackrabbit.api.security.principal.PrincipalIterator |
findPrincipals(String simpleFilter) |
org.apache.jackrabbit.api.security.principal.PrincipalIterator |
findPrincipals(String simpleFilter,
int searchType) |
org.apache.jackrabbit.api.security.principal.PrincipalIterator |
getGroupMembership(Principal principal) |
Principal |
getPrincipal(String principalName) |
org.apache.jackrabbit.api.security.principal.PrincipalIterator |
getPrincipals(int searchType) |
void |
init(Properties options) |
public static org.pentaho.platform.api.engine.security.userroledao.IUserRoleDao userRoleDao
public static CredentialsStrategy adminCredentialsStrategy
public static javax.jcr.Repository repository
public TestPrincipalProvider()
public TestPrincipalProvider(boolean primeWithSampleUsers)
public void init(Properties options)
init
in interface org.apache.jackrabbit.core.security.principal.PrincipalProvider
public void close()
close
in interface org.apache.jackrabbit.core.security.principal.PrincipalProvider
public boolean canReadPrincipal(javax.jcr.Session session, Principal principal)
canReadPrincipal
in interface org.apache.jackrabbit.core.security.principal.PrincipalProvider
public Principal getPrincipal(String principalName)
getPrincipal
in interface org.apache.jackrabbit.core.security.principal.PrincipalProvider
public org.apache.jackrabbit.api.security.principal.PrincipalIterator getGroupMembership(Principal principal)
Called from AbstractLoginModule.getPrincipals()
getGroupMembership
in interface org.apache.jackrabbit.core.security.principal.PrincipalProvider
public org.apache.jackrabbit.api.security.principal.PrincipalIterator findPrincipals(String simpleFilter)
Not implemented. This method only ever called from method in PrincipalManagerImpl
and that method is
never called.
findPrincipals
in interface org.apache.jackrabbit.core.security.principal.PrincipalProvider
public org.apache.jackrabbit.api.security.principal.PrincipalIterator findPrincipals(String simpleFilter, int searchType)
Not implemented. This method only ever called from method in PrincipalManagerImpl
and that method is
never called.
findPrincipals
in interface org.apache.jackrabbit.core.security.principal.PrincipalProvider
public org.apache.jackrabbit.api.security.principal.PrincipalIterator getPrincipals(int searchType)
Not implemented. This method only ever called from method in PrincipalManagerImpl
and that method is
never called.
getPrincipals
in interface org.apache.jackrabbit.core.security.principal.PrincipalProvider
Copyright © 2019 Hitachi Vantara. All rights reserved.