Class RolePerm
- java.lang.Object
-
- org.apache.directory.fortress.core.model.FortEntity
-
- org.apache.directory.fortress.core.model.RolePerm
-
- All Implemented Interfaces:
Serializable
public class RolePerm extends FortEntity implements Serializable
This entity is used by Fortress Rest to communicateRole
,Permission
andSession
information to the server for access control decisions.- Author:
- Apache Directory Project
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.apache.directory.fortress.core.model.FortEntity
adminSession, contextId, modCode, modId, sequenceId
-
-
Constructor Summary
Constructors Constructor Description RolePerm()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Permission
getPerm()
Role
getRole()
void
setPerm(Permission perm)
void
setRole(Role role)
String
toString()
-
Methods inherited from class org.apache.directory.fortress.core.model.FortEntity
getAdminSession, getContextId, getModCode, getModId, getSequenceId, setAdminSession, setContextId, setModCode, setSequenceId
-
-
-
-
Method Detail
-
getRole
public Role getRole()
-
setRole
public void setRole(Role role)
-
getPerm
public Permission getPerm()
-
setPerm
public void setPerm(Permission perm)
-
toString
public String toString()
- Overrides:
toString
in classObject
- See Also:
Object.toString()
-
-