com.silverpeas.jcrutil.security.jaas
Class TestAccessAuthentified
java.lang.Object
com.silverpeas.jcrutil.security.jaas.TestAccessAuthentified
public class TestAccessAuthentified
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TestAccessAuthentified
public TestAccessAuthentified()
loadSpringContext
public static void loadSpringContext()
throws Exception
- Throws:
Exception
tearAlldown
public static void tearAlldown()
throws Exception
- Throws:
Exception
onSetUp
public void onSetUp()
throws Exception
- Throws:
Exception
setUpDatabase
public void setUpDatabase()
throws Exception
- Throws:
Exception
tearDownDatabase
public void tearDownDatabase()
throws Exception
- Throws:
Exception
testAccessFileOwnable
public void testAccessFileOwnable()
throws Exception
- Throws:
Exception
testAccessFileNotOwnable
public void testAccessFileNotOwnable()
throws Exception
- Throws:
Exception
validateFile
protected void validateFile(javax.jcr.Session session,
boolean isAccessible,
boolean hasMixin)
throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
validateFolder
protected void validateFolder(javax.jcr.Session session,
boolean hasMixin)
throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
testAccessFolderOwnable
public void testAccessFolderOwnable()
throws Exception
- Throws:
Exception
testAccessFolderNotOwnable
public void testAccessFolderNotOwnable()
throws Exception
- Throws:
Exception
getDataSet
protected org.dbunit.dataset.IDataSet getDataSet()
throws Exception
- Throws:
Exception
clearRepository
protected void clearRepository()
throws Exception
- Throws:
Exception
hasMixin
protected boolean hasMixin(String mixinName,
javax.jcr.Node node)
throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
Copyright © 2016 Silverpeas. All Rights Reserved.