X-Git-Url: http://wamblee.org/gitweb/?a=blobdiff_plain;f=security%2Fimpl%2Fsrc%2Fmain%2Fjava%2Forg%2Fwamblee%2Fsecurity%2Fauthorization%2FAuthorizationService.java;h=bfbe0f8443ac3706fb68f6a341dbb9a0e7b8a799;hb=f4f8467b507b7bb401e4ad0749ea426208831846;hp=349ef757c0076def4f8814333b18b3d6df8f7c16;hpb=892308472780286f05a3f373cbc11f6f2a32a811;p=utils diff --git a/security/impl/src/main/java/org/wamblee/security/authorization/AuthorizationService.java b/security/impl/src/main/java/org/wamblee/security/authorization/AuthorizationService.java index 349ef757..bfbe0f84 100644 --- a/security/impl/src/main/java/org/wamblee/security/authorization/AuthorizationService.java +++ b/security/impl/src/main/java/org/wamblee/security/authorization/AuthorizationService.java @@ -15,7 +15,8 @@ */ package org.wamblee.security.authorization; -import org.wamblee.usermgt.UserAccessor; +import org.wamblee.security.authentication.UserAccessor; +import org.wamblee.security.authentication.UserAdministration; /** * Service to determine if access to a certain resource is allowed. @@ -92,5 +93,13 @@ public interface AuthorizationService { * User accessor. */ void setUserAccessor(UserAccessor aUserAccessor); + + /** + * Sets the user administration so that the authorization service can check + * information for the the current user. + * + * @param aUserAdmin User administration. + */ + void setUserAdministration(UserAdministration aUserAdmin); } \ No newline at end of file