|
Oracle Security Developer Tools Web Services Security Java API Reference 10g Release 2 (10.1.2.0.2) B15570-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
java.lang.Throwable
java.lang.Exception
oracle.security.xmlsec.wss.WSSException
This class signals errors in processing an WS-WSSecurity header. An error code and optionally error message should be provided to create an WSSException. This information can be used to generate SOAPFault</cdoe> message.
See Also:Serialized Form| Field Summary | |
static oracle.security.xmlsec.util.QName |
FAILED_AUTHENTICATIONIndicates that the security token could not be authenticated or authorized. |
static oracle.security.xmlsec.util.QName |
FAILED_CHECKIndicates that the signature or decryption failed. |
static oracle.security.xmlsec.util.QName |
INVALID_SECURITYIndicates that an error was discovered while processing the wsse:Security header. |
static oracle.security.xmlsec.util.QName |
INVALID_SECURITY_TOKENIndicates that the security token is not valid. |
static oracle.security.xmlsec.util.QName |
MESSAGE_EXPIREDIndicates that the timestamp on the security token has expired. |
static oracle.security.xmlsec.util.QName |
SECURITY_TOKEN_UNAVAILABLEIndicates that the referenced security token could not be retrieved. |
static oracle.security.xmlsec.util.QName |
UNSUPPORTED_ALGORITHMIndicates that an unsupported signature or encryption algorithm was used. |
static oracle.security.xmlsec.util.QName |
UNSUPPORTED_SECURITY_TOKENIndicates that the security token is unsupported. |
| Constructor Summary | |
WSSException()Creates a new WSSException instance |
|
WSSException(oracle.security.xmlsec.util.QName faultcode)Create a new WSSException instance with the given fault code. |
|
WSSException(oracle.security.xmlsec.util.QName faultcode, java.lang.String faultString)Create a new WSSException instance with the given fault code and the detailed message. |
|
WSSException(java.lang.String message)Creates a new WSSException instance with the given message string. |
|
| Method Summary | |
oracle.security.xmlsec.soap.v11.SOAPEnvelope |
createSOAPFault()Create a SOAP Fault message describing this exception. |
oracle.security.xmlsec.util.QName |
getFaultCode()Returns the WSS fault code. |
java.lang.String |
getFaultString()Returns the WSS fault string. |
java.lang.String |
getMessage()Returns the SOAP Fault Message. |
java.lang.String |
toString()Returns the description of the exception. |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final oracle.security.xmlsec.util.QName UNSUPPORTED_SECURITY_TOKEN
public static final oracle.security.xmlsec.util.QName UNSUPPORTED_ALGORITHM
public static final oracle.security.xmlsec.util.QName INVALID_SECURITY
public static final oracle.security.xmlsec.util.QName INVALID_SECURITY_TOKEN
public static final oracle.security.xmlsec.util.QName FAILED_AUTHENTICATION
public static final oracle.security.xmlsec.util.QName FAILED_CHECK
public static final oracle.security.xmlsec.util.QName SECURITY_TOKEN_UNAVAILABLE
public static final oracle.security.xmlsec.util.QName MESSAGE_EXPIRED
| Constructor Detail |
public WSSException()
public WSSException(java.lang.String message)
message - The exception message string.public WSSException(oracle.security.xmlsec.util.QName faultcode)
WSSException instance with the given fault code.faultcode - The WSS fault code.
public WSSException(oracle.security.xmlsec.util.QName faultcode,
java.lang.String faultString)
WSSException instance with the given fault code and the detailed message.faultcode - The WSS fault code.faultString - The WSS fault string.| Method Detail |
public oracle.security.xmlsec.util.QName getFaultCode()
public java.lang.String getFaultString()
public java.lang.String getMessage()
public java.lang.String toString()
public oracle.security.xmlsec.soap.v11.SOAPEnvelope createSOAPFault()
SOAP 1.1 is ONLY supported.
|
Oracle Security Developer Tools Web Services Security Java API Reference 10g Release 2 (10.1.2.0.2) B15570-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||