info.magnolia.context
Class DefaultRepositoryStrategy
java.lang.Object
info.magnolia.context.AbstractRepositoryStrategy
info.magnolia.context.DefaultRepositoryStrategy
- All Implemented Interfaces:
- RepositoryAcquiringStrategy
public class DefaultRepositoryStrategy
- extends AbstractRepositoryStrategy
Uses a user based access manager.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
context
protected UserContext context
DefaultRepositoryStrategy
public DefaultRepositoryStrategy(UserContext context)
getAccessManager
public AccessManager getAccessManager(String repositoryId,
String workspaceId)
getSubject
protected Subject getSubject()
getUserId
protected String getUserId()
- Specified by:
getUserId
in class AbstractRepositoryStrategy
release
public void release()
Copyright © 2003-2012 Magnolia International Ltd.. All Rights Reserved.