org.apache.qpid.server.security
Interface SecurityPlugin

All Superinterfaces:
Plugin
All Known Implementing Classes:
AbstractPlugin, AbstractProxyPlugin, AllowAll, BasicPlugin, DenyAll, LegacyAccess

public interface SecurityPlugin
extends Plugin

The two methods, access(ObjectType, Object) and authorise(Operation, ObjectType, ObjectProperties), return the Result of the security decision, which may be to Result.ABSTAIN if no decision is made by this plugin.


Method Summary
 Result access(ObjectType objectType, Object instance)
          Authorise access granted to an object instance.
 Result authorise(Operation operation, ObjectType objectType, ObjectProperties properties)
          Authorise an operation on an object defined by a set of properties.
 Result getDefault()
          Default result for access(ObjectType, Object) or authorise(Operation, ObjectType, ObjectProperties).
 
Methods inherited from interface org.apache.qpid.server.plugins.Plugin
configure
 

Method Detail

getDefault

Result getDefault()
Default result for access(ObjectType, Object) or authorise(Operation, ObjectType, ObjectProperties).


access

Result access(ObjectType objectType,
              Object instance)
Authorise access granted to an object instance.


authorise

Result authorise(Operation operation,
                 ObjectType objectType,
                 ObjectProperties properties)
Authorise an operation on an object defined by a set of properties.



Licensed to the Apache Software Foundation