public static final class UserImporter.ImportBehavior extends Object
Modifier and Type | Field and Description |
---|---|
static int |
ABORT
Aborts the import as soon as invalid values are detected throwing
a
ConstraintViolationException . |
static int |
BESTEFFORT
Same as
IGNORE but in addition tries to circumvent the
problem. |
static int |
IGNORE
If a member or impersonator value cannot be set due to constraints
enforced by the API implementation, the failure is logged as
warning but otherwise ignored.
|
static String |
NAME_ABORT |
static String |
NAME_BESTEFFORT |
static String |
NAME_IGNORE |
Constructor and Description |
---|
ImportBehavior() |
Modifier and Type | Method and Description |
---|---|
static String |
nameFromValue(int importBehavior) |
static int |
valueFromName(String behaviorString) |
public static final int IGNORE
public static final int BESTEFFORT
IGNORE
but in addition tries to circumvent the
problem. This option should only be used with validated and trusted
XML passed to the SessionImporter.public static final int ABORT
ConstraintViolationException
.public static final String NAME_IGNORE
public static final String NAME_BESTEFFORT
public static final String NAME_ABORT
Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.