com.liferay.portal.servlet.filters.sso.opensso
Class OpenSSOUtil

java.lang.Object
  extended by com.liferay.portal.servlet.filters.sso.opensso.OpenSSOUtil

public class OpenSSOUtil
extends java.lang.Object

View Source

See http://issues.liferay.com/browse/LEP-5943.

Author:
Prashant Dighe, Brian Wing Shun Chan, Wesley Gong

Method Summary
static java.util.Map<java.lang.String,java.lang.String> getAttributes(javax.servlet.http.HttpServletRequest request, java.lang.String serviceUrl)
           
static java.lang.String getSubjectId(javax.servlet.http.HttpServletRequest request, java.lang.String serviceUrl)
           
static boolean isAuthenticated(javax.servlet.http.HttpServletRequest request, java.lang.String serviceUrl)
           
static boolean isValidServiceUrl(java.lang.String serviceUrl)
           
static boolean isValidUrl(java.lang.String url)
           
static boolean isValidUrls(java.lang.String[] urls)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getAttributes

public static java.util.Map<java.lang.String,java.lang.String> getAttributes(javax.servlet.http.HttpServletRequest request,
                                                                             java.lang.String serviceUrl)

getSubjectId

public static java.lang.String getSubjectId(javax.servlet.http.HttpServletRequest request,
                                            java.lang.String serviceUrl)

isAuthenticated

public static boolean isAuthenticated(javax.servlet.http.HttpServletRequest request,
                                      java.lang.String serviceUrl)
                               throws java.io.IOException
Throws:
java.io.IOException

isValidServiceUrl

public static boolean isValidServiceUrl(java.lang.String serviceUrl)

isValidUrl

public static boolean isValidUrl(java.lang.String url)

isValidUrls

public static boolean isValidUrls(java.lang.String[] urls)