Uses of Interface
org.apache.directory.fortress.core.model.Constraint
-
Packages that use Constraint Package Description org.apache.directory.fortress.core.ant This package use Apache Ant to provide utility to provision fortress entities and policies using XML files.org.apache.directory.fortress.core.impl This package contains the fortress implementation classes for data persistence with the LDAP server.org.apache.directory.fortress.core.ldap This package uses Apache Directory LDAP APIā¢ to provide ldap data access.org.apache.directory.fortress.core.model The data entities in this package comprise the fortress data model.org.apache.directory.fortress.core.util This package contains miscellaneous utilities used by internal fortress procedures.org.apache.directory.fortress.core.util.time This package contains utilities used to process fortress temporal constraint checks on entities being activated within the runtime system. -
-
Uses of Constraint in org.apache.directory.fortress.core.ant
Classes in org.apache.directory.fortress.core.ant that implement Constraint Modifier and Type Class Description class
AdminRoleAnt
Entity is used by custom Apache Ant task for special handling of collections.class
UserAnt
Entity is used by custom Apache Ant task for special handling of collections. -
Uses of Constraint in org.apache.directory.fortress.core.impl
Methods in org.apache.directory.fortress.core.impl with parameters of type Constraint Modifier and Type Method Description int
DSDChecker. validate(Session session, Constraint constraint, Time time, VUtil.ConstraintType type)
This method is called during entity activation,VUtil.validateConstraints(org.apache.directory.fortress.core.model.Session, org.apache.directory.fortress.core.util.VUtil.ConstraintType, boolean)
and ensures the role does not violate dynamic separation of duty constraints. -
Uses of Constraint in org.apache.directory.fortress.core.ldap
Methods in org.apache.directory.fortress.core.ldap with parameters of type Constraint Modifier and Type Method Description protected void
LdapDataProvider. unloadTemporal(org.apache.directory.api.ldap.model.entry.Entry le, Constraint ftDateTime)
Convert constraint from raw ldap format to application entity. -
Uses of Constraint in org.apache.directory.fortress.core.model
Classes in org.apache.directory.fortress.core.model that implement Constraint Modifier and Type Class Description class
AdminRole
class
Role
All entities (User
,Role
,Permission
,PwPolicy
SDSet
etc...) are used to carry data between three Fortress layers.starting with the (1) Manager layer down thru middle (2) Process layer and it's processing rules into (3) DAO layer where persistence with the LDAP server occurs.class
User
All entities (User
,Role
,Permission
,PwPolicy
SDSet
etc...) are used to carry data between three Fortress layers.starting with the (1) Manager layer down thru middle (2) Process layer and it's processing rules into (3) DAO layer where persistence with the LDAP server occurs.class
UserAdminRole
The UserAdminRole entity extends the UserRole and is used to store ARBAC User to AdminRole assignment along with temporal and ARBAC contraint values.class
UserRole
The Fortress UserRole entity is used to store an RBAC User to Role assignment along with its temporal constraint values.Methods in org.apache.directory.fortress.core.model with parameters of type Constraint Modifier and Type Method Description static void
ConstraintUtil. copy(Constraint srcC, Constraint trgC)
Copy source constraint to target.static void
ConstraintUtil. setConstraint(String inputString, Constraint constraint)
Used by DAO utilities to convert from a string with comma delimited values to fortress internal formatConstraint
.static String
ConstraintUtil. setConstraint(Constraint constraint)
Convert from fortressConstraint
to comma delimited ldap format.static void
ConstraintUtil. validate(Constraint c1)
Validate the non-null attributes on the constraint.static void
ConstraintUtil. validateOrCopy(Constraint srcC, Constraint trgC)
Utility is used during processing of constraint values.Constructors in org.apache.directory.fortress.core.model with parameters of type Constraint Constructor Description AdminRole(Constraint con)
Construct an Admin Role with a given temporal constraint.Role(Constraint con)
Construct an RBAC Role with a given temporal constraint.UserAdminRole(String userId, Constraint con)
Construct an ARBAC Role with required attribute 'userId' and optional temporal constraint.UserRole(String userId, Constraint con)
Construct an RBAC Role with required attribute 'userId' and optional temporal constraint. -
Uses of Constraint in org.apache.directory.fortress.core.util
Methods in org.apache.directory.fortress.core.util with parameters of type Constraint Modifier and Type Method Description int
AuthNValidator. validate(Session session, Constraint constraint, Time time, VUtil.ConstraintType type)
This method is called during user-role activation,.VUtil#validateConstraints
and ensures the current user has been proper authentication status before activating the specified role into the session. -
Uses of Constraint in org.apache.directory.fortress.core.util.time
-