org.openpermis.repository.basic
Class FileSubjectRepository
java.lang.Object
org.openpermis.repository.basic.AbstractSubjectRepository
org.openpermis.repository.basic.StreamSubjectRepository
org.openpermis.repository.basic.FileSubjectRepository
- All Implemented Interfaces:
- SubjectRepository
public class FileSubjectRepository
- extends StreamSubjectRepository
A subject repository containing certificates from a local directory.
Reads all .ace files in the directory and its sub directories specified at
construction time.
- Since:
- 0.1.0
- 0.3.0 Added support for sub directories.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileSubjectRepository
public FileSubjectRepository(CertificateVerifier certificateVerifier,
File... directories)
throws SubjectRepositoryException
- Creates a file directory subject repository from directory and the specified certificate
verifier.
- Parameters:
certificateVerifier
- the certificate verifier user to verify the the attribute
certificates, must not be null
.directories
- a list of directories to be searched for .ace files,
must not be null
.
- Throws:
SubjectRepositoryException
- if the repository can not be build up.- Since:
- 0.1.0
- 0.3.0 Changed order of parameters and used variable length list of directories.
PERMIS Role Based Access Control 0.3.0 (Build 14)
2009/05/08 09:06:10
Copyright (c) 2002-2007 Ergon Informatik AG