|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.alfresco.repo.security.sync.ChainingUserRegistrySynchronizerTest.MockApplicationContextManager
public static class ChainingUserRegistrySynchronizerTest.MockApplicationContextManager
An ChildApplicationContextManager for a chain of application contexts containing mock user registries.
| Constructor Summary | |
|---|---|
ChainingUserRegistrySynchronizerTest.MockApplicationContextManager()
|
|
| Method Summary | |
|---|---|
org.springframework.context.ApplicationContext |
getApplicationContext(java.lang.String id)
Gets the application context with the given identifier. |
java.util.Collection |
getInstanceIds()
Gets the ordered collection of identifiers, indicating the ordering of the chain. |
void |
removeZone(java.lang.String zoneId)
Removes the application context for the given zone ID (simulating a change in the authentication chain). |
void |
setUserRegistries(ChainingUserRegistrySynchronizerTest.MockUserRegistry[] registries)
Sets the user registries. |
void |
updateZone(java.lang.String zoneId,
NodeDescription[] persons,
NodeDescription[] groups)
Updates the state of the given zone ID, oopying in new modification dates only where changes have been made. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ChainingUserRegistrySynchronizerTest.MockApplicationContextManager()
| Method Detail |
|---|
public void setUserRegistries(ChainingUserRegistrySynchronizerTest.MockUserRegistry[] registries)
registries - the new user registriespublic void removeZone(java.lang.String zoneId)
zoneId - the zone id
public void updateZone(java.lang.String zoneId,
NodeDescription[] persons,
NodeDescription[] groups)
zoneId - the zone idpersons - the new list of personsgroups - the new list of groupspublic org.springframework.context.ApplicationContext getApplicationContext(java.lang.String id)
ChildApplicationContextManager
getApplicationContext in interface ChildApplicationContextManagerid - the identifier of the application context to retrieve
public java.util.Collection getInstanceIds()
ChildApplicationContextManager
getInstanceIds in interface ChildApplicationContextManager
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||