public abstract class Constraint extends Object
true
, one or more additional properties must be specified. This
is useful for features like SSL, which when enabled, requires that various
SSL related configuration options are specified
Modifier | Constructor and Description |
---|---|
protected |
Constraint()
Creates a new constraint.
|
Modifier and Type | Method and Description |
---|---|
Collection<ClientConstraintHandler> |
getClientConstraintHandlers()
Gets the client-side constraint handlers which will be used to enforce
this constraint in client applications.
|
Collection<ServerConstraintHandler> |
getServerConstraintHandlers()
Gets the server-side constraint handlers which will be used to enforce
this constraint within the server.
|
protected void |
initialize()
Initializes this constraint.
|
protected Constraint()
public Collection<ClientConstraintHandler> getClientConstraintHandlers()
null
but maybe empty
(indicating that the constraint can only be enforced on the
server-side).public Collection<ServerConstraintHandler> getServerConstraintHandlers()
null
and must not be empty,
since constraints must always be enforced on the server.protected void initialize() throws Exception
Exception
- If this constraint could not be initialized.Copyright 2010-2017 ForgeRock AS.