edu.internet2.middleware.grouper.privs
Interface GrouperPrivilege

All Known Implementing Classes:
AccessPrivilege, AttributeDefPrivilege, NamingPrivilege

public interface GrouperPrivilege

combines AccessPrivilege and NamingPrivilege


Method Summary
 GrouperAPI getGrouperApi()
          get the object this privilege is assigned to (e.g.
 String getImplementationName()
          Get name of implementation class for this privilege type.
 String getName()
          Get name of privilege.
 Subject getOwner()
          Get subject which was granted privilege on this object.
 Subject getSubject()
          Get subject which has this privilege.
 String getType()
          get type of privilege (e.g.
 boolean isRevokable()
          Returns true if privilege can be revoked.
 

Method Detail

getGrouperApi

GrouperAPI getGrouperApi()
get the object this privilege is assigned to (e.g. group or stem object)

Returns:
the group or stem

getImplementationName

String getImplementationName()
Get name of implementation class for this privilege type. (e.g. from grouper.properties)

Returns:
the name

getType

String getType()
get type of privilege (e.g. access or naming)

Returns:
the type

getName

String getName()
Get name of privilege.

Returns:
Name of privilege.

getOwner

Subject getOwner()
Get subject which was granted privilege on this object.

Returns:
Subject that was granted privilege.

getSubject

Subject getSubject()
Get subject which has this privilege.

Returns:
Subject that has this privilege.

isRevokable

boolean isRevokable()
Returns true if privilege can be revoked.

Returns:
Boolean true if privilege can be revoked.