Class Authorizables.Context
- java.lang.Object
-
- com.composum.sling.core.usermanagement.service.Authorizables.Context
-
- Enclosing interface:
- Authorizables
public static class Authorizables.Context extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected Map<String,AuthorizableWrapper>
authorizables
protected org.apache.sling.api.SlingHttpServletRequest
request
protected org.apache.sling.api.resource.ResourceResolver
resolver
protected org.apache.sling.api.SlingHttpServletResponse
response
protected Authorizables
service
protected javax.jcr.Session
session
-
Constructor Summary
Constructors Constructor Description Context(@NotNull Authorizables service, @NotNull org.apache.sling.api.SlingHttpServletRequest request, @NotNull org.apache.sling.api.SlingHttpServletResponse response)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
commit()
Map<String,AuthorizableWrapper>
getAuthorizables()
@NotNull org.apache.sling.api.SlingHttpServletRequest
getRequest()
@NotNull org.apache.sling.api.resource.ResourceResolver
getResolver()
@NotNull org.apache.sling.api.SlingHttpServletResponse
getResponse()
@NotNull Authorizables
getService()
javax.jcr.Session
getSession()
@Nullable org.apache.jackrabbit.api.security.user.UserManager
getUserManager()
-
-
-
Field Detail
-
service
protected final Authorizables service
-
request
protected final org.apache.sling.api.SlingHttpServletRequest request
-
response
protected final org.apache.sling.api.SlingHttpServletResponse response
-
resolver
protected final org.apache.sling.api.resource.ResourceResolver resolver
-
session
protected final javax.jcr.Session session
-
authorizables
protected final Map<String,AuthorizableWrapper> authorizables
-
-
Constructor Detail
-
Context
public Context(@NotNull @NotNull Authorizables service, @NotNull @NotNull org.apache.sling.api.SlingHttpServletRequest request, @NotNull @NotNull org.apache.sling.api.SlingHttpServletResponse response)
-
-
Method Detail
-
commit
public void commit() throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
-
getService
@NotNull public @NotNull Authorizables getService()
-
getResolver
@NotNull public @NotNull org.apache.sling.api.resource.ResourceResolver getResolver()
-
getRequest
@NotNull public @NotNull org.apache.sling.api.SlingHttpServletRequest getRequest()
-
getResponse
@NotNull public @NotNull org.apache.sling.api.SlingHttpServletResponse getResponse()
-
getSession
public javax.jcr.Session getSession()
-
getUserManager
@Nullable public @Nullable org.apache.jackrabbit.api.security.user.UserManager getUserManager()
-
getAuthorizables
public Map<String,AuthorizableWrapper> getAuthorizables()
-
-