|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openpermis.repository.basic.InternalSubjectRepository
public class InternalSubjectRepository
A subject repository that retrieves subjects for a set of explicitly configured persons.
Constructor Summary | |
---|---|
InternalSubjectRepository()
Creates an empty repository. |
Method Summary | |
---|---|
Subject |
retrieveSubject(URI identity)
Returns a subject whose identity matches the one specified. |
void |
storeSubject(Subject subject)
Stores the specified subject in this repository. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public InternalSubjectRepository()
Method Detail |
---|
public void storeSubject(Subject subject)
subject
- a Subject
that will be returned by retrieveSubject(URI)
for URIs that matche Identifiable.getIdentity()
.public Subject retrieveSubject(URI identity) throws SubjectRepositoryException
SubjectRepository
retrieveSubject
in interface SubjectRepository
identity
- a URI
that identifies a subject.
Subject
associating a person with her assigned roles. The returned
subject is never null
, but will have no assigned roles for unknown identities.
SubjectRepositoryException
- when the repository fails to retrieve the roles
for the specified identity.
|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
PERMIS Role Based Access Control 0.4.0 (Build 15)
2009/05/20 08:14:49
Copyright (c) 2002-2007 Ergon Informatik AG