Class AuthorizedUrlService


  • public class AuthorizedUrlService
    extends Object
    • Method Detail

      • getInstance

        public static AuthorizedUrlService getInstance()
        Get instance of AuthorizedUrlService
        Returns:
        instance
      • getName

        public String getName​(String url)
        Return the name of the urlAuthorized
        Parameters:
        url -
        Returns:
        the name of the UrlAuthorized
      • getNameByApplicationCode

        public String getNameByApplicationCode​(String strApplicationCode,
                                               String url)
        Return the name of the urlAuthorized
        Parameters:
        strApplicationCode - the application Code
        url -
        Returns:
        the name of the UrlAuthorized
      • getServiceBackUrl

        public String getServiceBackUrl​(javax.servlet.http.HttpServletRequest request)
        return the service back url if the url is authorized
        Parameters:
        request - the request
        Returns:
        the service back url if the url is authorized
      • getServiceBackUrl

        public String getServiceBackUrl​(javax.servlet.http.HttpServletRequest request,
                                        String strBackUrlParameter)
        return the service back url if the url is authorized
        Parameters:
        request - the request
        strBackUrlParameter - the parameter name of the service back url
        Returns:
        the service back url if the url is authorized
      • getServiceBackUrl

        public String getServiceBackUrl​(javax.servlet.http.HttpServletRequest request,
                                        String strBackUrlParameter,
                                        String strBackUrlSessionName)
        return the service back url if the url is authorized
        Parameters:
        request - the request
        strBackUrlParameter - the parameter name of the service back url
        strBackUrlSessionName - The session attribute name who is stored the back url
        Returns:
        the service back url if the url is authorized