Class PostBindingUtil
- java.lang.Object
- 
- org.keycloak.saml.processing.web.util.PostBindingUtil
 
- 
 public class PostBindingUtil extends Object Utility for the HTTP/Post binding- Since:
- May 22, 2009
- Author:
- Anil.Saldhana@redhat.com
 
- 
- 
Constructor SummaryConstructors Constructor Description PostBindingUtil()
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static byte[]base64Decode(String encodedString)Apply base64 decoding on the message and return the byte arraystatic InputStreambase64DecodeAsStream(String encodedString)Apply base64 decoding on the message and return the streamstatic Stringbase64Encode(String stringToEncode)Apply base64 encoding on the messagestatic StringescapeHTML(String toEscape)
 
- 
- 
- 
Method Detail- 
base64Encodepublic static String base64Encode(String stringToEncode) throws IOException Apply base64 encoding on the message- Parameters:
- stringToEncode-
- Returns:
- Throws:
- IOException
 
 - 
base64Decodepublic static byte[] base64Decode(String encodedString) Apply base64 decoding on the message and return the byte array- Parameters:
- encodedString-
- Returns:
 
 - 
base64DecodeAsStreampublic static InputStream base64DecodeAsStream(String encodedString) Apply base64 decoding on the message and return the stream- Parameters:
- encodedString-
- Returns:
 
 
- 
 
-