info.magnolia.context
Class DefaultRepositoryStrategy
java.lang.Object
info.magnolia.context.AbstractRepositoryStrategy
info.magnolia.context.DefaultRepositoryStrategy
- All Implemented Interfaces:
- JCRSessionStrategy
public class DefaultRepositoryStrategy
- extends AbstractRepositoryStrategy
Uses a user based access manager.
- Version:
- $Id$
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
context
protected UserContext context
DefaultRepositoryStrategy
@Inject
public DefaultRepositoryStrategy(RepositoryManager repositoryManager,
UserContext context)
internalGetSession
protected javax.jcr.Session internalGetSession(String workspaceName)
throws javax.jcr.RepositoryException
- Specified by:
internalGetSession
in class AbstractRepositoryStrategy
- Throws:
javax.jcr.RepositoryException
getCredentials
protected javax.jcr.Credentials getCredentials()
- Returns:
- credentials of current user - anonymous if unknown.
release
public void release()
Copyright © 2003-2013 Magnolia International Ltd.. All Rights Reserved.