|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object info.magnolia.context.AbstractRepositoryStrategy info.magnolia.context.DefaultRepositoryStrategy
public class DefaultRepositoryStrategy
Uses a user based access manager.
Field Summary | |
---|---|
protected UserContext |
context
|
Constructor Summary | |
---|---|
DefaultRepositoryStrategy(UserContext context)
|
Method Summary | |
---|---|
AccessManager |
getAccessManager(java.lang.String repositoryId,
java.lang.String workspaceId)
|
protected javax.security.auth.Subject |
getSubject()
|
protected java.lang.String |
getUserId()
|
void |
release()
|
Methods inherited from class info.magnolia.context.AbstractRepositoryStrategy |
---|
decSessionCount, getHierarchyManager, getLocalSessionCount, getQueryManager, getRepositorySession, incSessionCount, release, releaseSession |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected UserContext context
Constructor Detail |
---|
public DefaultRepositoryStrategy(UserContext context)
Method Detail |
---|
public AccessManager getAccessManager(java.lang.String repositoryId, java.lang.String workspaceId)
protected javax.security.auth.Subject getSubject()
protected java.lang.String getUserId()
getUserId
in class AbstractRepositoryStrategy
public void release()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |