Interface GrouperPrivilege
- All Known Implementing Classes:
AccessPrivilege
,AttributeDefPrivilege
,NamingPrivilege
public interface GrouperPrivilege
combines AccessPrivilege and NamingPrivilege
-
Method Summary
Modifier and TypeMethodDescriptionget the object this privilege is assigned to (e.g.Get name of implementation class for this privilege type.getName()
Get name of privilege.getOwner()
Get subject which was granted privilege on this object.Get subject which has this privilege.getType()
get type of privilege (e.g.void
internalSetSubject
(Subject subject) if we are caching subject objects, then set it here...boolean
Returns true if privilege can be revoked.
-
Method Details
-
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.
-
internalSetSubject
if we are caching subject objects, then set it here... do not change the subject here- Parameters:
subject
-
-