Package uk.ac.warwick.sso.client.tags
Class SSOLoginLinkGenerator
- java.lang.Object
-
- uk.ac.warwick.sso.client.tags.SSOLinkGenerator
-
- uk.ac.warwick.sso.client.tags.SSOLoginLinkGenerator
-
public class SSOLoginLinkGenerator extends SSOLinkGenerator
-
-
Constructor Summary
Constructors Constructor Description SSOLoginLinkGenerator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetLoginUrl()java.lang.StringgetNotLoggedInLink()java.lang.StringgetPermissionDeniedLink()Will use the notloggedin link if the user isn't logged in.java.lang.StringgetRealPermissionDeniedLink()-
Methods inherited from class uk.ac.warwick.sso.client.tags.SSOLinkGenerator
getConfig, getRequest, getTarget, setConfig, setRequest, setTarget
-
-
-
-
Method Detail
-
getLoginUrl
public final java.lang.String getLoginUrl()
-
getPermissionDeniedLink
public final java.lang.String getPermissionDeniedLink()
Will use the notloggedin link if the user isn't logged in. This is safe to do, because if the user is not logged in then the two attributes have the exact same behaviour. If they are signed in but they aren't allowed to access a resource, then they genuinely do need status=permdenied so they get the page to login again.- Returns:
- Permission denied link URL
-
getRealPermissionDeniedLink
public final java.lang.String getRealPermissionDeniedLink()
-
getNotLoggedInLink
public final java.lang.String getNotLoggedInLink()
-
-