on 07-05-2006 1:37 PM
Hi all,
I try to use the com.sap.security.api.ticket.TicketVerifier class; but I have the following error when I call setTicket method:
TicketException: Unsupported codepage jExM in ticket
The ticket is read from request, MYSAPSSO2 cookie.
Someone can help me ?
Thanks in advance.
Paolo
Paolo,
You need to decode the cookie value before passing the ticket to the TicketVerifier class by calling URLDecoder.decode(String, String) method.
Your code would like something like this:
Cookie sso2Ticket = getCookie("MYSAPSSO2"); // just a placeholder function
String sso2DecodedCookievalue = java.net.URLDecoder.decode(sso2Ticket.getValue(),"UTF-8");
ticketVerifier.setTicket(sso2DecodedCookievalue);
This will work.
Regards,
David
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.