Class Saml2Error
- java.lang.Object
-
- org.springframework.security.saml2.provider.service.authentication.Saml2Error
-
- All Implemented Interfaces:
java.io.Serializable
@Deprecated public class Saml2Error extends java.lang.Object implements java.io.SerializableDeprecated.UseSaml2ErrorinsteadA representation of an SAML 2.0 Error.At a minimum, an error response will contain an error code. The commonly used error code are defined in this class or a new codes can be defined in the future as arbitrary strings.
- Since:
- 5.2
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Saml2Error(java.lang.String errorCode, java.lang.String description)Deprecated.Constructs aSaml2Errorusing the provided parameters.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.StringgetDescription()Deprecated.Returns the error description.java.lang.StringgetErrorCode()Deprecated.Returns the error code.java.lang.StringtoString()Deprecated.
-
-
-
Method Detail
-
getErrorCode
public final java.lang.String getErrorCode()
Deprecated.Returns the error code.- Returns:
- the error code
-
getDescription
public final java.lang.String getDescription()
Deprecated.Returns the error description.- Returns:
- the error description
-
toString
public java.lang.String toString()
Deprecated.- Overrides:
toStringin classjava.lang.Object
-
-