mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-10-08 14:51:49 +00:00
RM-7145 Wire in RM AuthenticationUtil.
This commit is contained in:
@@ -156,6 +156,7 @@
|
||||
<property name="maxPermissionChecks">
|
||||
<value>${system.acl.maxPermissionChecks}</value>
|
||||
</property>
|
||||
<property name="authenticationUtil" ref="rm.authenticationUtil" />
|
||||
</bean>
|
||||
|
||||
<!-- Link up after method call security -->
|
||||
|
@@ -130,6 +130,16 @@ public class RMAfterInvocationProvider extends RMSecurityCommon
|
||||
this.maxPermissionCheckTimeMillis = maxPermissionCheckTimeMillis;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the authentication util
|
||||
*
|
||||
* @param authenticationUtil The authentication util to set
|
||||
*/
|
||||
public void setAuthenticationUtil(AuthenticationUtil authenticationUtil)
|
||||
{
|
||||
this.authenticationUtil = authenticationUtil;
|
||||
}
|
||||
|
||||
@SuppressWarnings("rawtypes")
|
||||
public Object decide(Authentication authentication, Object object, ConfigAttributeDefinition config, Object returnedObject)
|
||||
{
|
||||
|
Reference in New Issue
Block a user