|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.apache.jetspeed.exception.JetspeedException
org.apache.jetspeed.security.SecurityException
public class SecurityException
Exception throwns by members of the security service.
Field Summary | |
---|---|
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 |
Fields inherited from class org.apache.jetspeed.exception.JetspeedException |
---|
KEYED_MESSAGE_BUNDLE |
Constructor Summary | |
---|---|
SecurityException()
Default Constructor. |
|
SecurityException(KeyedMessage typedMessage)
Constructor with exception message. |
|
SecurityException(KeyedMessage msg,
java.lang.Throwable nested)
Constructor with exception message and nested exception. |
|
SecurityException(java.lang.Throwable t)
|
Method Summary |
---|
Methods inherited from class org.apache.jetspeed.exception.JetspeedException |
---|
getKeyedMessage, getMessage, getMessage, getMessage, getRequestDiagnostics, setRequestDiagnostics |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
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
Constructor Detail |
---|
public SecurityException()
Default Constructor.
public SecurityException(java.lang.Throwable t)
public SecurityException(KeyedMessage typedMessage)
Constructor with exception message.
message
- The exception message.public SecurityException(KeyedMessage msg, java.lang.Throwable nested)
Constructor with exception message and nested exception.
msg
- The exception message.nested
- Nested exception.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |