org.openpermis.repository
Interface SubjectRepository

All Known Implementing Classes:
AbstractSubjectRepository, FileSubjectRepository, InternalSubjectRepository, LdapSubjectRepository, StreamSubjectRepository, UrlSubjectRepository

public interface SubjectRepository

Fetches the roles that are associated with users.

Since:
0.1.0

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

Method Detail

retrieveSubject

Subject retrieveSubject(URI identity)
                        throws SubjectRepositoryException
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:
SubjectRepositoryException - when the repository fails to retrieve the roles for the specified identity.
Since:
0.3.0


PERMIS Role Based Access Control 0.4.0 (Build 15)
2009/05/20 08:14:49
Copyright (c) 2002-2007 Ergon Informatik AG