public class SecurityException extends JetspeedException
Exception throwns by members of the security service.
Modifier and Type | Field and Description |
---|---|
static KeyedMessage |
ANONYMOUS_USER_PROTECTED
The anonymous user is protected exception message.
|
static KeyedMessage |
ATTRIBUTE_IS_READ_ONLY |
static KeyedMessage |
ATTRIBUTE_IS_REQUIRED |
static KeyedMessage |
ATTRIBUTES_ARE_READ_ONLY |
static KeyedMessage |
ATTRIBUTES_NOT_EXTENDABLE |
static KeyedMessage |
DEFAULT_SECURITY_DOMAIN_DOES_NOT_EXIST |
static KeyedMessage |
DEPENDENT_PRINCIPAL_EXISTS
Principal has one or more dependents.
|
static KeyedMessage |
EMPTY_PARAMETER
Invalid password exception message.
|
static KeyedMessage |
ENTITY_ATTRIBUTE_MULTIVALUE_UNSUPPORTED
Entity association attribute undefined
|
static KeyedMessage |
ENTITY_ATTRIBUTE_UNDEFINED
Entity association attribute undefined
|
static KeyedMessage |
GROUP_ALREADY_EXISTS
Deprecated.
use
#PRINCIPAL_ALREADY_EXIST with method KeyedMessage.createScoped(String, Object) instead |
static KeyedMessage |
GROUP_DOES_NOT_EXIST
Deprecated.
use
PRINCIPAL_DOES_NOT_EXIST with method KeyedMessage.createScoped(String, Object) instead |
static KeyedMessage |
INCORRECT_PASSWORD
Incorrect password exception message.
|
static KeyedMessage |
INVALID_AUTHENTICATION_PROVIDER
Invalid authentication provider exception message.
|
static KeyedMessage |
INVALID_DN
The dn is invalid.
|
static KeyedMessage |
INVALID_NEW_PASSWORD
Invalid new password exception message.
|
static KeyedMessage |
INVALID_PASSWORD
Invalid password exception message.
|
static KeyedMessage |
INVALID_UID
The uid is invalid.
|
static KeyedMessage |
PASSWORD_ALREADY_USED
Password already used exception message.
|
static KeyedMessage |
PASSWORD_REQUIRED
Password required exception message.
|
static KeyedMessage |
PERMISSION_ALREADY_EXISTS
Permission already exists exception message.
|
static KeyedMessage |
PERMISSION_DOES_NOT_EXIST
Permission does not exist exception message.
|
static KeyedMessage |
PRINCIPAL_ALREADY_EXISTS
Principal already exists exception message.
|
static KeyedMessage |
PRINCIPAL_ASSOCIATION_ALREADY_EXISTS
Principal association already exist with principal
|
static KeyedMessage |
PRINCIPAL_ASSOCIATION_DOMINANT
Principal association dominant for same types exception message.
|
static KeyedMessage |
PRINCIPAL_ASSOCIATION_DOMINANT_MIXED
Principal association dominant for mixed types exception message.
|
static KeyedMessage |
PRINCIPAL_ASSOCIATION_REQUIRED
Principal association required exception message.
|
static KeyedMessage |
PRINCIPAL_ASSOCIATION_SINGULAR
Principal association singular for same types exception message.
|
static KeyedMessage |
PRINCIPAL_ASSOCIATION_SINGULAR_MIXED
Principal association singular for mixed types exception message.
|
static KeyedMessage |
PRINCIPAL_ASSOCIATION_UNSUPPORTED
Principal association is not supported exception message.
|
static KeyedMessage |
PRINCIPAL_DOES_NOT_EXIST
Principal does not exist exception message.
|
static KeyedMessage |
PRINCIPAL_IS_READ_ONLY
Principal is read only exception message.
|
static KeyedMessage |
PRINCIPAL_NOT_REMOVABLE
Principal is not removable exception message.
|
static KeyedMessage |
PRINCIPAL_UPDATE_FAILURE
Principal updating failed exception message.
|
static KeyedMessage |
ROLE_ALREADY_EXISTS
Deprecated.
use
#PRINCIPAL_ALREADY_EXIST with method KeyedMessage.createScoped(String, Object) instead |
static KeyedMessage |
ROLE_DOES_NOT_EXIST
Deprecated.
use
PRINCIPAL_DOES_NOT_EXIST with method KeyedMessage.createScoped(String, Object) instead |
static KeyedMessage |
SECURITY_DOMAIN_DOES_NOT_EXIST |
static KeyedMessage |
SECURITY_DOMAIN_EXISTS |
static KeyedMessage |
SECURITY_DOMAIN_NOT_REMOVABLE |
static KeyedMessage |
SECURITY_DOMAIN_UPDATE_FAILURE |
static KeyedMessage |
UNEXPECTED
The anonymous user is protected exception message.
|
static KeyedMessage |
UNKNOWN_PRINCIPAL_TYPE |
static KeyedMessage |
USER_ALREADY_EXISTS
Deprecated.
use
PRINCIPAL_ALREADY_EXISTS with method KeyedMessage.createScoped(String, Object) instead |
static KeyedMessage |
USER_DOES_NOT_EXIST
Deprecated.
use
PRINCIPAL_DOES_NOT_EXIST with method KeyedMessage.createScoped(String, Object) instead |
KEYED_MESSAGE_BUNDLE
Constructor and Description |
---|
SecurityException()
Default Constructor.
|
SecurityException(KeyedMessage typedMessage)
Constructor with exception message.
|
SecurityException(KeyedMessage msg,
Throwable nested)
Constructor with exception message and nested exception.
|
SecurityException(Throwable t) |
getKeyedMessage, getMessage, getMessage, getMessage, getRequestDiagnostics, setRequestDiagnostics
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public static final KeyedMessage PRINCIPAL_DOES_NOT_EXIST
Principal does not exist exception message.
public static final KeyedMessage PRINCIPAL_ALREADY_EXISTS
Principal already exists exception message.
public static final KeyedMessage PRINCIPAL_IS_READ_ONLY
Principal is read only exception message.
public static final KeyedMessage PRINCIPAL_UPDATE_FAILURE
Principal updating failed exception message.
public static final KeyedMessage PRINCIPAL_NOT_REMOVABLE
Principal is not removable exception message.
public static final KeyedMessage DEPENDENT_PRINCIPAL_EXISTS
Principal has one or more dependents.
public static final KeyedMessage PRINCIPAL_ASSOCIATION_REQUIRED
Principal association required exception message.
public static final KeyedMessage PRINCIPAL_ASSOCIATION_SINGULAR
Principal association singular for same types exception message.
public static final KeyedMessage PRINCIPAL_ASSOCIATION_DOMINANT
Principal association dominant for same types exception message.
public static final KeyedMessage PRINCIPAL_ASSOCIATION_SINGULAR_MIXED
Principal association singular for mixed types exception message.
public static final KeyedMessage PRINCIPAL_ASSOCIATION_DOMINANT_MIXED
Principal association dominant for mixed types exception message.
public static final KeyedMessage PRINCIPAL_ASSOCIATION_ALREADY_EXISTS
Principal association already exist with principal
public static final KeyedMessage PRINCIPAL_ASSOCIATION_UNSUPPORTED
Principal association is not supported exception message.
public static final KeyedMessage PERMISSION_DOES_NOT_EXIST
Permission does not exist exception message.
public static final KeyedMessage PERMISSION_ALREADY_EXISTS
Permission already exists exception message.
public static final KeyedMessage USER_ALREADY_EXISTS
PRINCIPAL_ALREADY_EXISTS
with method KeyedMessage.createScoped(String, Object)
insteadUser principal already exists exception message.
public static final KeyedMessage USER_DOES_NOT_EXIST
PRINCIPAL_DOES_NOT_EXIST
with method KeyedMessage.createScoped(String, Object)
insteadUser principal does not exist exception message.
public static final KeyedMessage ROLE_ALREADY_EXISTS
#PRINCIPAL_ALREADY_EXIST
with method KeyedMessage.createScoped(String, Object)
insteadRole principal already exists exception message.
public static final KeyedMessage ROLE_DOES_NOT_EXIST
PRINCIPAL_DOES_NOT_EXIST
with method KeyedMessage.createScoped(String, Object)
insteadRole principal does not exist exception message.
public static final KeyedMessage GROUP_ALREADY_EXISTS
#PRINCIPAL_ALREADY_EXIST
with method KeyedMessage.createScoped(String, Object)
insteadGroup principal already exists exception message.
public static final KeyedMessage GROUP_DOES_NOT_EXIST
PRINCIPAL_DOES_NOT_EXIST
with method KeyedMessage.createScoped(String, Object)
insteadGroup principal does not exist exception message.
public static final KeyedMessage EMPTY_PARAMETER
Invalid password exception message.
public static final KeyedMessage INVALID_PASSWORD
Invalid password exception message.
public static final KeyedMessage INVALID_NEW_PASSWORD
Invalid new password exception message.
public static final KeyedMessage INCORRECT_PASSWORD
Incorrect password exception message.
public static final KeyedMessage PASSWORD_REQUIRED
Password required exception message.
public static final KeyedMessage INVALID_AUTHENTICATION_PROVIDER
Invalid authentication provider exception message.
public static final KeyedMessage PASSWORD_ALREADY_USED
Password already used exception message.
public static final KeyedMessage ANONYMOUS_USER_PROTECTED
The anonymous user is protected exception message.
public static final KeyedMessage UNEXPECTED
The anonymous user is protected exception message.
public static final KeyedMessage INVALID_UID
The uid is invalid.
public static final KeyedMessage INVALID_DN
The dn is invalid.
public static final KeyedMessage UNKNOWN_PRINCIPAL_TYPE
public static final KeyedMessage ATTRIBUTE_IS_READ_ONLY
public static final KeyedMessage ATTRIBUTE_IS_REQUIRED
public static final KeyedMessage ATTRIBUTES_ARE_READ_ONLY
public static final KeyedMessage ATTRIBUTES_NOT_EXTENDABLE
public static final KeyedMessage SECURITY_DOMAIN_EXISTS
public static final KeyedMessage SECURITY_DOMAIN_DOES_NOT_EXIST
public static final KeyedMessage SECURITY_DOMAIN_NOT_REMOVABLE
public static final KeyedMessage SECURITY_DOMAIN_UPDATE_FAILURE
public static final KeyedMessage DEFAULT_SECURITY_DOMAIN_DOES_NOT_EXIST
public static final KeyedMessage ENTITY_ATTRIBUTE_UNDEFINED
Entity association attribute undefined
public static final KeyedMessage ENTITY_ATTRIBUTE_MULTIVALUE_UNSUPPORTED
Entity association attribute undefined
public SecurityException()
Default Constructor.
public SecurityException(Throwable t)
public SecurityException(KeyedMessage typedMessage)
Constructor with exception message.
message
- The exception message.public SecurityException(KeyedMessage msg, Throwable nested)
Constructor with exception message and nested exception.
msg
- The exception message.nested
- Nested exception.Copyright © 1999–2016 The Apache Software Foundation. All rights reserved.