|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.archiva.configuration.RedbackRuntimeConfiguration
public class RedbackRuntimeConfiguration
The runtime configuration.
Field Summary | |
---|---|
private Map |
configurationProperties
Field configurationProperties. |
private LdapConfiguration |
ldapConfiguration
the ldap configuration. |
private List<LdapGroupMapping> |
ldapGroupMappings
Field ldapGroupMappings. |
private boolean |
migratedFromRedbackConfiguration
flag to know if redback configuration has been checked/migrated. |
private List<String> |
rbacManagerImpls
Field rbacManagerImpls. |
private List<String> |
userManagerImpls
Field userManagerImpls. |
private CacheConfiguration |
usersCacheConfiguration
the users cache configuration. |
private boolean |
useUsersCache
flag to know if redback will use a cache to prevent searching users already found. |
Constructor Summary | |
---|---|
RedbackRuntimeConfiguration()
|
Method Summary | |
---|---|
void |
addConfigurationProperty(Object key,
String value)
Method addConfigurationProperty. |
void |
addLdapGroupMapping(LdapGroupMapping ldapGroupMapping)
Method addLdapGroupMapping. |
void |
addRbacManagerImpl(String string)
Method addRbacManagerImpl. |
void |
addUserManagerImpl(String string)
Method addUserManagerImpl. |
Map |
getConfigurationProperties()
Method getConfigurationProperties. |
LdapConfiguration |
getLdapConfiguration()
Get the ldap configuration. |
List<LdapGroupMapping> |
getLdapGroupMappings()
Method getLdapGroupMappings. |
List<String> |
getRbacManagerImpls()
Method getRbacManagerImpls. |
List<String> |
getUserManagerImpls()
Method getUserManagerImpls. |
CacheConfiguration |
getUsersCacheConfiguration()
Get the users cache configuration. |
boolean |
isMigratedFromRedbackConfiguration()
Get flag to know if redback configuration has been checked/migrated. |
boolean |
isUseUsersCache()
Get flag to know if redback will use a cache to prevent searching users already found. |
void |
removeLdapGroupMapping(LdapGroupMapping ldapGroupMapping)
Method removeLdapGroupMapping. |
void |
removeRbacManagerImpl(String string)
Method removeRbacManagerImpl. |
void |
removeUserManagerImpl(String string)
Method removeUserManagerImpl. |
void |
setConfigurationProperties(Map configurationProperties)
Set extra properties for redback configuration. |
void |
setLdapConfiguration(LdapConfiguration ldapConfiguration)
Set the ldap configuration. |
void |
setLdapGroupMappings(List<LdapGroupMapping> ldapGroupMappings)
Set ldapGroupMappings. |
void |
setMigratedFromRedbackConfiguration(boolean migratedFromRedbackConfiguration)
Set flag to know if redback configuration has been checked/migrated. |
void |
setRbacManagerImpls(List<String> rbacManagerImpls)
Set the RBAC Manager impls to use. |
void |
setUserManagerImpls(List<String> userManagerImpls)
Set the user manager impls to use. |
void |
setUsersCacheConfiguration(CacheConfiguration usersCacheConfiguration)
Set the users cache configuration. |
void |
setUseUsersCache(boolean useUsersCache)
Set flag to know if redback will use a cache to prevent searching users already found. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private boolean migratedFromRedbackConfiguration
private List<String> userManagerImpls
private List<String> rbacManagerImpls
private LdapConfiguration ldapConfiguration
private List<LdapGroupMapping> ldapGroupMappings
private Map configurationProperties
private boolean useUsersCache
private CacheConfiguration usersCacheConfiguration
Constructor Detail |
---|
public RedbackRuntimeConfiguration()
Method Detail |
---|
public void addConfigurationProperty(Object key, String value)
key
- value
- public void addLdapGroupMapping(LdapGroupMapping ldapGroupMapping)
ldapGroupMapping
- public void addRbacManagerImpl(String string)
string
- public void addUserManagerImpl(String string)
string
- public Map getConfigurationProperties()
public LdapConfiguration getLdapConfiguration()
public List<LdapGroupMapping> getLdapGroupMappings()
public List<String> getRbacManagerImpls()
public List<String> getUserManagerImpls()
public CacheConfiguration getUsersCacheConfiguration()
public boolean isMigratedFromRedbackConfiguration()
public boolean isUseUsersCache()
public void removeLdapGroupMapping(LdapGroupMapping ldapGroupMapping)
ldapGroupMapping
- public void removeRbacManagerImpl(String string)
string
- public void removeUserManagerImpl(String string)
string
- public void setConfigurationProperties(Map configurationProperties)
configurationProperties
- public void setLdapConfiguration(LdapConfiguration ldapConfiguration)
ldapConfiguration
- public void setLdapGroupMappings(List<LdapGroupMapping> ldapGroupMappings)
ldapGroupMappings
- public void setMigratedFromRedbackConfiguration(boolean migratedFromRedbackConfiguration)
migratedFromRedbackConfiguration
- public void setRbacManagerImpls(List<String> rbacManagerImpls)
rbacManagerImpls
- public void setUseUsersCache(boolean useUsersCache)
useUsersCache
- public void setUserManagerImpls(List<String> userManagerImpls)
userManagerImpls
- public void setUsersCacheConfiguration(CacheConfiguration usersCacheConfiguration)
usersCacheConfiguration
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |