| |
|
| java.lang.Object org.apache.wsrp4j.util.AuthenticationInfoHelper
AuthenticationInfoHelper | public class AuthenticationInfoHelper (Code) | | |
Method Summary | |
public static String | getPortletFromWsrp(String wsrpInfo) Get the authentification info as defined in the portlet spec
from a passed authentification info defined in the WSRP spec..
If wsrp:none is passed null is returned. | public static String | getWsrpFromPortlet(String jsrAuthInfo) Get a string representation of the user authentification
as defined in the WSRP spec. |
WSRP_CERT | final public static String WSRP_CERT(Code) | | End-User presented a security certificate
|
WSRP_NONE | final public static String WSRP_NONE(Code) | | No authentication was done
|
WSRP_PASSWD | final public static String WSRP_PASSWD(Code) | | End-User identified themselves using password/username scenario
|
getPortletFromWsrp | public static String getPortletFromWsrp(String wsrpInfo)(Code) | | Get the authentification info as defined in the portlet spec
from a passed authentification info defined in the WSRP spec..
If wsrp:none is passed null is returned. In case the
passed info could not be matched the same string is returned.
Parameters: wsrpInfo - |
getWsrpFromPortlet | public static String getWsrpFromPortlet(String jsrAuthInfo)(Code) | | Get a string representation of the user authentification
as defined in the WSRP spec. from a passed authentification
info defined in the portlet spec. If the passed value could not
be matched the same string is returned.
Parameters: jsrAuthInfo - Authentification info as defined in the portlet spec The authentification info as defined in the WSRP spec. or theargument if no match could be made. |
|
|
|