Spring Security Framework

org.springframework.security.util
Class UrlUtils

java.lang.Object
  extended by org.springframework.security.util.UrlUtils

public final class UrlUtils
extends Object

Provides static methods for composing URLs.

Placed into a separate class for visibility, so that changes to URL formatting conventions will affect all users.

Version:
$Id$
Author:
Ben Alex

Method Summary
static String getFullRequestUrl(FilterInvocation fi)
           
static String getFullRequestUrl(SavedRequest sr)
           
static String getRequestUrl(FilterInvocation fi)
           
static String getRequestUrl(SavedRequest sr)
           
static boolean isValidRedirectUrl(String url)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getFullRequestUrl

public static String getFullRequestUrl(FilterInvocation fi)

getFullRequestUrl

public static String getFullRequestUrl(SavedRequest sr)

getRequestUrl

public static String getRequestUrl(FilterInvocation fi)

getRequestUrl

public static String getRequestUrl(SavedRequest sr)

isValidRedirectUrl

public static boolean isValidRedirectUrl(String url)

Spring Security Framework

Copyright © 2004-2010 SpringSource, Inc. All Rights Reserved.