org.openpermis.subject
Interface SubjectFinder

All Known Implementing Classes:
EmptySubjectFinder, MutableSubjectFinder

public interface SubjectFinder

Finds subjects by identities.

Since:
0.9.0

Method Summary
 Subject findSubject(URI identity)
          Returns a subject whose identity matches the one specified.
 

Method Detail

findSubject

Subject findSubject(URI identity)
                    throws SubjectFinderException
Returns a subject whose identity matches the one specified.

Parameters:
identity - a URI that identifies a subject.
Returns:
a Subject associating a person with her assigned roles. The returned subject is never null, but will have no assigned roles for unknown identities.
Throws:
SubjectFinderException - when the finder fails to retrieve a subject.
Since:
0.9.0


OpenPermis Role Based Access Control 0.9.0 (Build 16)
2009/08/13 07:16:59
Copyright (c) 2002-2007 Ergon Informatik AG