org.apache.jetspeed.sso
Class SSOException

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.sso.SSOException
All Implemented Interfaces:
java.io.Serializable, RequestDiagnosticsHolder

public class SSOException
extends JetspeedException

Exception throwns by members of the sso service.

Author:
Roger Ruttimann
See Also:
Serialized Form

Field Summary
static java.lang.String BASIC_AUTHENTICATION_ADD_FAILED
          Adding the credentials to the request failed.
static java.lang.String FAILED_ADDING_CREDENTIALS_FOR_SITE
          Adding the credentials for site failed.
static java.lang.String FAILED_ADDING_PRINCIPAL_TO_MAPPING_TABLE_FOR_SITE
          Could not add Principal from SITE mapping table.
static java.lang.String FAILED_REMOVING_CREDENTIALS_FOR_SITE
          Removing the credential for site failed.
static java.lang.String FAILED_REMOVING_PRINCIPAL_FROM_MAPPING_TABLE_FOR_SITE
          Could not remove Principla from SITE mapping table.
static java.lang.String FAILED_STORING_SITE_INFO_IN_DB
          Failed to store site info in database.
static java.lang.String NO_CREDENTIALS_FOR_SITE
          The site has no Single Sign On credentails attached.
static java.lang.String REMOTE_PRINCIPAL_EXISTS_CALL_UPDATE
          Site/principal has remote principal.
static java.lang.String REQUESTED_PRINCIPAL_DOES_NOT_EXIST
          Requested principal doesn't exist in Principal store.
static java.lang.String SITE_ALREADY_EXISTS
          The site could not be created because a site with the same name exists.
static java.lang.String SITE_COULD_NOT_BE_CREATED
          The site could not be created because a site with the same name exists.
 
Fields inherited from class org.apache.jetspeed.exception.JetspeedException
KEYED_MESSAGE_BUNDLE
 
Constructor Summary
SSOException()
          Default Constructor.
SSOException(java.lang.String message)
          Constructor with exception message.
SSOException(java.lang.String msg, java.lang.Throwable nested)
          Constructor with exception message and nested exception.
SSOException(java.lang.Throwable nested)
          Constructor with nested exception.
 
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

BASIC_AUTHENTICATION_ADD_FAILED

public static final java.lang.String BASIC_AUTHENTICATION_ADD_FAILED

Adding the credentials to the request failed.

See Also:
Constant Field Values

SITE_ALREADY_EXISTS

public static final java.lang.String SITE_ALREADY_EXISTS

The site could not be created because a site with the same name exists.

See Also:
Constant Field Values

SITE_COULD_NOT_BE_CREATED

public static final java.lang.String SITE_COULD_NOT_BE_CREATED

The site could not be created because a site with the same name exists.

See Also:
Constant Field Values

NO_CREDENTIALS_FOR_SITE

public static final java.lang.String NO_CREDENTIALS_FOR_SITE

The site has no Single Sign On credentails attached.

See Also:
Constant Field Values

FAILED_ADDING_CREDENTIALS_FOR_SITE

public static final java.lang.String FAILED_ADDING_CREDENTIALS_FOR_SITE

Adding the credentials for site failed.

See Also:
Constant Field Values

FAILED_REMOVING_CREDENTIALS_FOR_SITE

public static final java.lang.String FAILED_REMOVING_CREDENTIALS_FOR_SITE

Removing the credential for site failed.

See Also:
Constant Field Values

FAILED_STORING_SITE_INFO_IN_DB

public static final java.lang.String FAILED_STORING_SITE_INFO_IN_DB

Failed to store site info in database.

See Also:
Constant Field Values

REQUESTED_PRINCIPAL_DOES_NOT_EXIST

public static final java.lang.String REQUESTED_PRINCIPAL_DOES_NOT_EXIST

Requested principal doesn't exist in Principal store.

See Also:
Constant Field Values

FAILED_REMOVING_PRINCIPAL_FROM_MAPPING_TABLE_FOR_SITE

public static final java.lang.String FAILED_REMOVING_PRINCIPAL_FROM_MAPPING_TABLE_FOR_SITE

Could not remove Principla from SITE mapping table.

See Also:
Constant Field Values

FAILED_ADDING_PRINCIPAL_TO_MAPPING_TABLE_FOR_SITE

public static final java.lang.String FAILED_ADDING_PRINCIPAL_TO_MAPPING_TABLE_FOR_SITE

Could not add Principal from SITE mapping table.

See Also:
Constant Field Values

REMOTE_PRINCIPAL_EXISTS_CALL_UPDATE

public static final java.lang.String REMOTE_PRINCIPAL_EXISTS_CALL_UPDATE

Site/principal has remote principal. Calll update.

See Also:
Constant Field Values
Constructor Detail

SSOException

public SSOException()

Default Constructor.


SSOException

public SSOException(java.lang.String message)

Constructor with exception message.

Parameters:
message - The exception message.

SSOException

public SSOException(java.lang.Throwable nested)

Constructor with nested exception.

Parameters:
nested - Nested exception.

SSOException

public SSOException(java.lang.String msg,
                    java.lang.Throwable nested)

Constructor with exception message and nested exception.

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


Copyright © 1999-2011 The Apache Software Foundation. All Rights Reserved.