|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ResolvedMount
Implementations of this interface are a request flyweight instance of the Mount object, where possible wildcard property placeholders have been filled in, similar
to the ResolvedSiteMapItem and HstSiteMapItem
| Method Summary | |
|---|---|
String |
getFormLoginPage()
Returns FORM Login Page |
String |
getMatchingIgnoredPrefix()
Expert: In most circumstance, this getMatchingIgnoredPrefix() will return null. |
Mount |
getMount()
|
String |
getNamedPipeline()
|
String |
getResolvedMountPath()
Returns the mountPath from the backing Mount where possible wildcard values might have been replaced. |
ResolvedVirtualHost |
getResolvedVirtualHost()
|
Set<String> |
getRoles()
Returns the roles that are allowed to access this Mount when isAuthenticated() is true. |
Set<String> |
getUsers()
Returns the users that are allowed to access this Mount when isAuthenticated() is true. |
boolean |
isAuthenticated()
If this method returns true, then only if the user is explicitly allowed or servletRequest.isUserInRole(role) returns true this
Mount is accessible for the request. |
boolean |
isSessionStateful()
Returns true if subject based jcr session should be statefully managed. |
boolean |
isSubjectBasedSession()
Returns true if subject based jcr session should be used for this Mount |
ResolvedSiteMapItem |
matchSiteMapItem(String siteMapPathInfo)
matches a pathInfo to a ResolvedSiteMapItem item or throws a
MatchException or NotFoundException when cannot resolve to a sitemap item |
| Method Detail |
|---|
ResolvedVirtualHost getResolvedVirtualHost()
ResolvedVirtualHost for this ResolvedMountMount getMount()
Mount item for this ResolvedMount instanceString getNamedPipeline()
Mount or null when the default pipeline is to be usedString getResolvedMountPath()
Mount where possible wildcard values might have been replaced. A root Mount returns an empty String (""). When the mountPath is non-empty, it always starts with a "/".
ResolvedMountMount.getMountPath()String getMatchingIgnoredPrefix()
getMatchingIgnoredPrefix() will return null. Only when there
was a pathInfo prefix after the HttpServletRequest.getContextPath() that should be ignored during matching the request to
a ResolvedMount, this method returns the ignored prefix. The returned String must have leading and trailing slashes all removed.
null if there wasn't a ignored prefix
ResolvedSiteMapItem matchSiteMapItem(String siteMapPathInfo)
throws MatchException
ResolvedSiteMapItem item or throws a
MatchException or NotFoundException when cannot resolve to a sitemap item
siteMapPathInfo -
MatchExceptionboolean isAuthenticated()
servletRequest.isUserInRole(role) returns true this
Mount is accessible for the request.
If a Mount does not have a configuration for authenticated, the value from the parent item is taken.
true if the Mount is authenticated.Set<String> getRoles()
isAuthenticated() is true. If the Mount does not have any roles defined by itself, it
inherits them from the parent. If it defines roles, the roles from any ancestor are ignored. An empty set of roles
in combination with isAuthenticated() return true means nobody has access to the item
Set<String> getUsers()
isAuthenticated() is true. If the Mount does not have any users defined by itself, it
inherits them from the parent. If it defines users, the users from any ancestor are ignored. An empty set of users
in combination with isAuthenticated() return true means nobody has access to the item
boolean isSubjectBasedSession()
boolean isSessionStateful()
String getFormLoginPage()
true if the Mount is authenticated.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||