intarsys runtime library

de.intarsys.aaa.authentication
Interface ISubject


public interface ISubject

The authenticated subject.


Method Summary
 List<ICredential> getCredentials()
          All ICredential instances associated with the subject.
 Object getImpl()
          The implementation object for this.
 List<IPermission> getPermissions()
          The list of permissions for this subject.
 boolean isAdministrator()
          A flag if this subject has administrative rights.
 

Method Detail

getCredentials

List<ICredential> getCredentials()
All ICredential instances associated with the subject.

Returns:
All ICredential instances associated with the subject.

getImpl

Object getImpl()
The implementation object for this.

This is for example the persistent java object for a user.

Returns:
The implementation object for this.

getPermissions

List<IPermission> getPermissions()
The list of permissions for this subject.

Returns:
The list of permissions for this subject.

isAdministrator

boolean isAdministrator()
A flag if this subject has administrative rights.

Returns:
A flag if this subject has administrative rights.

intarsys runtime library

Copyright © 2012 intarsys consulting GmbH. All Rights Reserved.