public class EnterpriseAuthorizationHandler extends Object implements AuthorizationHandler, DocLifecycleListener
| Constructor and Description |
|---|
EnterpriseAuthorizationHandler() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
allowedGroups(String docId) |
AuthorizationRequestLink |
authorizationRequestLink() |
boolean |
isAuthorized(String userId,
String docId) |
void |
onDocRemove(String docId) |
void |
onDocUpdate(org.testingisdocumenting.znai.core.DocMeta docMeta) |
public boolean isAuthorized(String userId, String docId)
isAuthorized in interface AuthorizationHandlerpublic List<String> allowedGroups(String docId)
allowedGroups in interface AuthorizationHandlerpublic AuthorizationRequestLink authorizationRequestLink()
authorizationRequestLink in interface AuthorizationHandlerpublic void onDocUpdate(org.testingisdocumenting.znai.core.DocMeta docMeta)
onDocUpdate in interface DocLifecycleListenerpublic void onDocRemove(String docId)
onDocRemove in interface DocLifecycleListenerCopyright © 2022. All rights reserved.