| Type | Name and description |
|---|---|
static java.lang.Object |
LOGGED_IN_CLASS |
static java.lang.Object |
LOGGED_OUT_CLASS |
java.lang.String |
alaBaseURLAll the following defaults can be overridden by the specified config declarations. |
java.lang.String |
bieBaseURL |
java.lang.String |
bieSearchPath |
java.lang.Long |
cacheTimeout |
java.lang.String |
casLoginUrl |
java.lang.String |
casLogoutUrl |
org.grails.encoder.CodecLookup |
codecLookup |
java.lang.String |
fathomSiteId |
java.lang.String |
grailServerURL |
grails.web.mapping.LinkGenerator |
grailsLinkGenerator |
java.lang.String |
headerAndFooterBaseURL |
java.lang.String |
headerAndFooterVersion |
java.lang.Object |
hfCacheCache for includes. |
java.lang.Boolean |
isOidc |
java.lang.String |
userDetailsServerUrl |
| Type Params | Return Type | Name and description |
|---|---|---|
|
java.lang.String |
buildEditAccountLink(java.lang.Object request, java.util.Map attrs) |
|
java.lang.String |
buildLoginLink(java.lang.Object request, java.util.Map attrs = [:])Build the login link |
|
java.lang.String |
buildLoginUrl(javax.servlet.http.HttpServletRequest request, java.lang.String customCasLoginUrl = null, java.lang.String customLoginReturnToUrl = null)Build a login url. |
|
java.lang.String |
buildLoginoutLink(java.lang.Object request, java.util.Map attrs)Builds the login or logout link based on current login status. |
|
java.lang.String |
buildLoginoutLinkV1(java.lang.Object request, java.lang.Object attrs)@deprecated Builds the login or logout link based on current login status. |
|
java.lang.String |
buildLoginoutLinkV2(java.lang.Object request, java.lang.Object attrs)Builds the login or logout link based on current login status. |
|
java.lang.String |
buildLogoutLink(java.lang.Object request, java.util.Map attrs)Build the logout link |
|
java.lang.String |
buildLogoutUrl(javax.servlet.http.HttpServletRequest request, java.lang.String customCasLogoutUrl = null, java.lang.String customLogoutUrl = null, java.lang.String customLogoutReturnToUrl = null)Build a logout url. |
|
java.lang.String |
buildMyProfileLink(java.lang.Object request, java.util.Map attrs) |
|
java.lang.String |
buildRequestForwardUrl(javax.servlet.http.HttpServletRequest request)Build a url that forwards to request.forwardURI. |
|
java.lang.String |
buildUri(java.lang.String baseUri, java.util.List pathSegments = null, java.util.Map<java.lang.String, java.lang.Object> queryParameters = null, java.lang.String fragment = null, java.util.Map<java.lang.String, ?> uriVariables = null)Build a uri from a base uri, additional optional path segments, additional optional query parameters, optional fragment and optional uri variables to expand placeholders. |
|
java.lang.Object |
clearCache()Clear the in-memory cache of content fragments. |
|
java.lang.String |
contentBasedOnCurrentUser(java.lang.Object request, java.lang.String content, java.util.Map attrs)Add content based on whether the current user is logged in or not. |
|
java.lang.String |
getContent(java.lang.String which)Loads the content from the web. |
|
boolean |
isLoggedIn(java.lang.Object request, java.lang.Object attrs)Determine whether the current request has a logged in user or not. |
|
java.lang.String |
load(java.lang.String which, java.lang.Object request, java.util.Map attrs)Get the content from cache of the web. |
|
java.lang.String |
transform(java.lang.Object request, java.lang.String content, java.util.Map attrs)Does the appropriate substitutions on the included content. |
|
java.lang.String |
transformV1(java.lang.Object request, java.lang.Object content, java.lang.Object attrs)@deprecated Does the appropriate substitutions on the included content. |
|
java.lang.String |
transformV2(java.lang.Object request, java.lang.Object content, java.lang.Object attrs)Does the appropriate substitutions on the included content. |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
All the following defaults can be overridden by the specified config declarations. The banner include assumes that ala-cas-client exists in the app library.
Cache for includes. Expires after 30 mins or when clearCache is called.
Build the login link
request - The current web request.attrs - any specified params to override defaultsBuild a login url.
request - The current request.customCasLoginUrl - A custom CAS login url. Leave null to use the default.customLoginReturnToUrl - A custom login return to url. Leave null to use the current request forward uri.Builds the login or logout link based on current login status.
attrs - any specified params to override defaultsattrs - any specified params to override defaultsBuilds the login or logout link based on current login status.
attrs - any specified params to override defaultsBuild the logout link
attrs - any specified params to override defaultsBuild a logout url.
request - The current request.customCasLogoutUrl - A custom CAS login url. Leave null to use the default.customLogoutUrl - A custom logout url. Leave blank to use the default.customLogoutReturnToUrl - A custom logout return to url. Leave null to use the current request forward uri.Build a url that forwards to request.forwardURI.
Build a uri from a base uri, additional optional path segments, additional optional query parameters, optional fragment and optional uri variables to expand placeholders. Ensures the resulting uri correctly encodes the parts of the uri.
baseUri - The base uri.pathSegments - Path segments to be added to the base uri.queryParameters - Query parameters to be added to the base uri.
Existing query parameters that match new query parameters will be replaced.fragment - The new fragment, will replace any existing fragmentClear the in-memory cache of content fragments.
Add content based on whether the current user is logged in or not.
request - The current request.content - The content to add.attrs - The tag attributes.Loads the content from the web.
which - specifies the includeDetermine whether the current request has a logged in user or not.
request - The current request.attrs - The tag attributes.Get the content from cache of the web.
which - specifies the includeattrs - any specified paramsDoes the appropriate substitutions on the included content.
attrs - any specified params to override defaultsattrs - any specified params to override defaultsDoes the appropriate substitutions on the included content.
attrs - any specified params to override defaults