org.apache.jetspeed.security
Class SecurityException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.jetspeed.exception.JetspeedException
              extended by org.apache.jetspeed.security.SecurityException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
InvalidDnException, InvalidNewPasswordException, InvalidPasswordException, InvalidUidException, PasswordAlreadyUsedException

public class SecurityException
extends JetspeedException

Exception throwns by members of the security service.

Author:
David Le Strat
See Also:
Serialized Form

Field Summary
static KeyedMessage ANONYMOUS_USER_PROTECTED
          The anonymous user is protected exception message.
static KeyedMessage EMPTY_PARAMETER
          Invalid password exception message.
static KeyedMessage GROUP_ALREADY_EXISTS
          Group principal already exists exception message.
static KeyedMessage GROUP_DOES_NOT_EXIST
          Group principal does not exist exception message.
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_DOES_NOT_EXIST
          Permission does not exist exception message.
static KeyedMessage PRINCIPAL_DOES_NOT_EXIST
          Principal does not exist exception message.
static KeyedMessage ROLE_ALREADY_EXISTS
          Role principal already exists exception message.
static KeyedMessage ROLE_DOES_NOT_EXIST
          Role principal does not exist exception message.
private static long serialVersionUID
          The serial version uid.
static KeyedMessage UNEXPECTED
          The anonymous user is protected exception message.
static KeyedMessage USER_ALREADY_EXISTS
          User principal already exists exception message.
static KeyedMessage USER_DOES_NOT_EXIST
          User principal does not exist exception message.
 
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, Throwable nested)
          Constructor with exception message and nested exception.
SecurityException(Throwable t)
           
 
Method Summary
 
Methods inherited from class org.apache.jetspeed.exception.JetspeedException
getKeyedMessage, getMessage, getMessage, getMessage
 
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

serialVersionUID

private static final long serialVersionUID
The serial version uid.

See Also:
Constant Field Values

PRINCIPAL_DOES_NOT_EXIST

public static final KeyedMessage PRINCIPAL_DOES_NOT_EXIST

Principal does not exist exception message.


PERMISSION_DOES_NOT_EXIST

public static final KeyedMessage PERMISSION_DOES_NOT_EXIST

Permission does not exist exception message.


USER_ALREADY_EXISTS

public static final KeyedMessage USER_ALREADY_EXISTS

User principal already exists exception message.


USER_DOES_NOT_EXIST

public static final KeyedMessage USER_DOES_NOT_EXIST

User principal does not exist exception message.


ROLE_ALREADY_EXISTS

public static final KeyedMessage ROLE_ALREADY_EXISTS

Role principal already exists exception message.


ROLE_DOES_NOT_EXIST

public static final KeyedMessage ROLE_DOES_NOT_EXIST

Role principal does not exist exception message.


GROUP_ALREADY_EXISTS

public static final KeyedMessage GROUP_ALREADY_EXISTS

Group principal already exists exception message.


GROUP_DOES_NOT_EXIST

public static final KeyedMessage GROUP_DOES_NOT_EXIST

Group principal does not exist exception message.


EMPTY_PARAMETER

public static final KeyedMessage EMPTY_PARAMETER

Invalid password exception message.


INVALID_PASSWORD

public static final KeyedMessage INVALID_PASSWORD

Invalid password exception message.


INVALID_NEW_PASSWORD

public static final KeyedMessage INVALID_NEW_PASSWORD

Invalid new password exception message.


INCORRECT_PASSWORD

public static final KeyedMessage INCORRECT_PASSWORD

Incorrect password exception message.


PASSWORD_REQUIRED

public static final KeyedMessage PASSWORD_REQUIRED

Password required exception message.


INVALID_AUTHENTICATION_PROVIDER

public static final KeyedMessage INVALID_AUTHENTICATION_PROVIDER

Invalid authentication provider exception message.


PASSWORD_ALREADY_USED

public static final KeyedMessage PASSWORD_ALREADY_USED

Password already used exception message.


ANONYMOUS_USER_PROTECTED

public static final KeyedMessage ANONYMOUS_USER_PROTECTED

The anonymous user is protected exception message.


UNEXPECTED

public static final KeyedMessage UNEXPECTED

The anonymous user is protected exception message.


INVALID_UID

public static final KeyedMessage INVALID_UID

The uid is invalid.


INVALID_DN

public static final KeyedMessage INVALID_DN

The dn is invalid.

Constructor Detail

SecurityException

public SecurityException()

Default Constructor.


SecurityException

public SecurityException(Throwable t)

SecurityException

public SecurityException(KeyedMessage typedMessage)

Constructor with exception message.

Parameters:
message - The exception message.

SecurityException

public SecurityException(KeyedMessage msg,
                         Throwable nested)

Constructor with exception message and nested exception.

Parameters:
msg - The exception message.
nested - Nested exception.


Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.