|
PicketLink Federation Core 2.1.6.Final-redhat-2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.picketlink.identity.federation.web.util.PostBindingUtil
public class PostBindingUtil
Utility for the HTTP/Post binding
Constructor Summary | |
---|---|
PostBindingUtil()
|
Method Summary | |
---|---|
static byte[] |
base64Decode(String encodedString)
Apply base64 decoding on the message and return the byte array |
static InputStream |
base64DecodeAsStream(String encodedString)
Apply base64 decoding on the message and return the stream |
static String |
base64Encode(String stringToEncode)
Apply base64 encoding on the message |
static void |
sendPost(DestinationInfoHolder holder,
javax.servlet.http.HttpServletResponse response,
boolean request)
Send the response to the redirected destination while adding the character encoding of "UTF-8" as well as adding headers for cache-control and Pragma |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PostBindingUtil()
Method Detail |
---|
public static String base64Encode(String stringToEncode) throws IOException
stringToEncode
-
IOException
public static byte[] base64Decode(String encodedString)
encodedString
-
public static InputStream base64DecodeAsStream(String encodedString)
encodedString
-
public static void sendPost(DestinationInfoHolder holder, javax.servlet.http.HttpServletResponse response, boolean request) throws IOException
destination
- Destination URI where the response needs to redirectresponse
- HttpServletResponse
IOException
|
PicketLink Federation Core 2.1.6.Final-redhat-2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |