Introduction

This interceptor is used to validate that the operation can be processed for the current user.

Structure

The Class diagram for this interceptor is shown in this diagram.

The interface (Interceptor) describes all the method to be implemented. The abstract class BaseInterceptor only declare 2 new methods.

The AuthorizationService class implements all the needed methods, not all the interface's methods.

Operations

We won't have to implement every operations in the interceptor : some of them are not necessary, like operations which do not modify the entries.

Here is the list of operations defined in the interface, and the list of operations we implement in AuthorizationService (the lacking methods are already implemented in the intermediate abstract class) :

Interface

SchemaService

add

(tick)

addContextPartition

(error)

bind

(error)

compare

(tick)

delete

(tick)

destroy

(error)

getMatchedName

(tick)

getRootDSE

(error)

getSuffix

(error)

hasEntry

(tick)

init

(tick)

Interface

SchemaService

isSuffix

(error)

list

(tick)

listSuffixes

(error)

lookup

(tick)

modify

(tick)

modifyRn

(tick)

move

(tick)

removeContextPartition

(error)

search

(tick)

unbind

(error)

TO BE CONTINUED

  • No labels