javax.wbem.client
Class CIMSecurityException

java.lang.Object
  extended byCIMException
      extended byjavax.wbem.client.CIMSecurityException

public class CIMSecurityException
extends CIMException

Exception class representing security exceptions that occur in the CIM object manager during authentication/authorization and in providers during authorization.

Since:
WBEM 1.0
Version:
1.2, 04/03/01
See Also:
Serialized Form

Field Summary
static java.lang.String CANNOT_ASSUME_ROLE
          The specified principal cannot assume the specified role.
static java.lang.String CHECKSUM_ERROR
          Checksum error.
static java.lang.String CIM_ERR_ACCESS_DENIED
          The user has insufficient rights to perform the operation.
static java.lang.String INVALID_CREDENTIAL
          The provided user or role credential( user passwd) is invalid.
static java.lang.String INVALID_DATA
          The security authenticator data is invalid, or is not consistent with the security mechanism being used.
static java.lang.String NO_SUCH_PRINCIPAL
          The specified principal(user account) cannot be found.
static java.lang.String NO_SUCH_ROLE
          The specified role cannot be found, or is not a role identity.
static java.lang.String NO_SUCH_SESSION
          The session with the given id does not exist.
static java.lang.String NOT_HELLO
          When the first hello message is not in the correct format.
static java.lang.String NOT_RESPONSE
          The first response message is not in the correct format.
 
Constructor Summary
CIMSecurityException()
          Creates a CIMSecurityException with no detail message.
CIMSecurityException(java.lang.String s)
          Creates a CIMSecurityException with the specified detail message.
CIMSecurityException(java.lang.String s, java.lang.Object param)
          Creates a CIMSecurityException with the specified detail message and one exception parameter.
CIMSecurityException(java.lang.String s, java.lang.Object[] param)
          Constructs a CIMSecurityException with the specified detail message and an array of exception parameters.
CIMSecurityException(java.lang.String s, java.lang.Object param1, java.lang.Object param2)
          Constructs a CIMSecurityException with the specified detail message and two exception parameters.
CIMSecurityException(java.lang.String s, java.lang.Object param1, java.lang.Object param2, java.lang.Object param3)
          Constructs a CIMSecurityException with the specified detail message and three exception parameters.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CANNOT_ASSUME_ROLE

public static final java.lang.String CANNOT_ASSUME_ROLE
The specified principal cannot assume the specified role. This error message uses two parameters: the user name and role name.

See Also:
Constant Field Values

CHECKSUM_ERROR

public static final java.lang.String CHECKSUM_ERROR
Checksum error. This would happen if the message is corrupted either accidentally or maliciously.

See Also:
Constant Field Values

CIM_ERR_ACCESS_DENIED

public static final java.lang.String CIM_ERR_ACCESS_DENIED
The user has insufficient rights to perform the operation.

See Also:
Constant Field Values

INVALID_CREDENTIAL

public static final java.lang.String INVALID_CREDENTIAL
The provided user or role credential( user passwd) is invalid.

See Also:
Constant Field Values

INVALID_DATA

public static final java.lang.String INVALID_DATA
The security authenticator data is invalid, or is not consistent with the security mechanism being used.

See Also:
Constant Field Values

NO_SUCH_PRINCIPAL

public static final java.lang.String NO_SUCH_PRINCIPAL
The specified principal(user account) cannot be found. This error message uses one parameter, the principal name.

See Also:
Constant Field Values

NO_SUCH_ROLE

public static final java.lang.String NO_SUCH_ROLE
The specified role cannot be found, or is not a role identity. This error message uses one parameter, the role name.

See Also:
Constant Field Values

NO_SUCH_SESSION

public static final java.lang.String NO_SUCH_SESSION
The session with the given id does not exist. The parameter is a string formed from the session id byte array.

See Also:
Constant Field Values

NOT_HELLO

public static final java.lang.String NOT_HELLO
When the first hello message is not in the correct format. This should not happen when using the client APIs, except when the data is corrupted.

See Also:
Constant Field Values

NOT_RESPONSE

public static final java.lang.String NOT_RESPONSE
The first response message is not in the correct format. This should not happen when using the client APIs, except when the data is corrupted.

See Also:
Constant Field Values
Constructor Detail

CIMSecurityException

public CIMSecurityException()
Creates a CIMSecurityException with no detail message.


CIMSecurityException

public CIMSecurityException(java.lang.String s)
Creates a CIMSecurityException with the specified detail message.

Parameters:
s - the detail message.

CIMSecurityException

public CIMSecurityException(java.lang.String s,
                            java.lang.Object param)
Creates a CIMSecurityException with the specified detail message and one exception parameter.

Parameters:
s - the detail message.
param - exception parameter.

CIMSecurityException

public CIMSecurityException(java.lang.String s,
                            java.lang.Object[] param)
Constructs a CIMSecurityException with the specified detail message and an array of exception parameters.

Parameters:
s - the detail message.
param - array of exception parameters.

CIMSecurityException

public CIMSecurityException(java.lang.String s,
                            java.lang.Object param1,
                            java.lang.Object param2)
Constructs a CIMSecurityException with the specified detail message and two exception parameters.

Parameters:
s - the detail message.
param1 - first Exception parameter.
param2 - second Exception parameter.

CIMSecurityException

public CIMSecurityException(java.lang.String s,
                            java.lang.Object param1,
                            java.lang.Object param2,
                            java.lang.Object param3)
Constructs a CIMSecurityException with the specified detail message and three exception parameters.

Parameters:
s - the detail message.
param1 - first Exception parameter.
param2 - second Exception parameter.
param3 - third Exception parameter.


Java™ WBEM (JSR48) 1.0.0 API