Class PostBindingUtil
java.lang.Object
org.keycloak.saml.processing.web.util.PostBindingUtil
Utility for the HTTP/Post binding
- Since:
- May 22, 2009
- Author:
- Anil.Saldhana@redhat.com
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic byte[]
base64Decode
(String encodedString) Apply base64 decoding on the message and return the byte arraystatic InputStream
base64DecodeAsStream
(String encodedString) Apply base64 decoding on the message and return the streamstatic String
base64Encode
(String stringToEncode) Apply base64 encoding on the messagestatic String
escapeHTML
(String toEscape)
-
Constructor Details
-
PostBindingUtil
public PostBindingUtil()
-
-
Method Details
-
base64Encode
Apply base64 encoding on the message- Parameters:
stringToEncode
-- Returns:
- Throws:
IOException
-
base64Decode
Apply base64 decoding on the message and return the byte array- Parameters:
encodedString
-- Returns:
-
base64DecodeAsStream
Apply base64 decoding on the message and return the stream- Parameters:
encodedString
-- Returns:
-
escapeHTML
-