org.sandev.basics.Authorizer
Class AuthorizerNodeDecl

java.lang.Object
  extended by org.sandev.basics.Authorizer.AuthorizerNodeDecl
Direct Known Subclasses:
AuthorizerNodeBase, AuthorizerNodeInstance

public class AuthorizerNodeDecl
extends java.lang.Object

Bridges communications across an insecure channel. An instance of this node is deployed on either side of an untrusted messaging channel providing a mechanism for authorization checking. Messages are authorized at the class, instance, field, and value levels.

For more information on authorizor messaging, see the messaging overview.

An AuthUserLookup interface is implemented via a local peer node.
An IDLookup interface is implemented via a local peer node.

Field Summary
protected  java.lang.String authFilterClassName
          The fully qualified name of the AuthFilter class to use when checking authorization.
protected  java.lang.String encryptorName
          The SandEncryptor implementation we use for secure messaging.
protected  java.lang.String peerAuthUserLookupNode
          The instance name of our UserLookup node.
protected  java.lang.String peerIDLookupNode
          The instance name of our IDLookup node.
protected  java.lang.String serializerClassName
          The CharSerializer class to use for serializing the message into a string, which is then encrypted.
 
Constructor Summary
AuthorizerNodeDecl()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serializerClassName

protected java.lang.String serializerClassName
The CharSerializer class to use for serializing the message into a string, which is then encrypted.

declared default value: "org.sandev.tools.util.XMLSerializer"
declared invalid value: "AUTHORIZER_INVALID_SERIALIZER"
Length in characters, normal: 60 max: 120

encryptorName

protected java.lang.String encryptorName
The SandEncryptor implementation we use for secure messaging. The implementation must provide a no-args constructor to be used by this node.

declared default value: "org.sandev.basics.util.NullEncryptor"
declared invalid value: "AUTHORIZER_INVALID_ENCRYPTOR"
Length in characters, normal: 60 max: 120

authFilterClassName

protected java.lang.String authFilterClassName
The fully qualified name of the AuthFilter class to use when checking authorization. This must be a valid classname for the Authorizer to work.

declared default value: "org.sandev.basics.Authorizer.DummyAuthFilter"
declared invalid value: "AUTHORIZER_INVALID_AUTHFILTER"
Length in characters, normal: 60 max: 120

peerAuthUserLookupNode

protected java.lang.String peerAuthUserLookupNode
The instance name of our UserLookup node. We rely on this local node to implement the AuthUserLookup part of the UIFormOwner interface.

Length in characters, normal: 30 max: 60

peerIDLookupNode

protected java.lang.String peerIDLookupNode
The instance name of our IDLookup node. We rely on this local node to retrieve the reference information we need to work with.

Length in characters, normal: 30 max: 60
Constructor Detail

AuthorizerNodeDecl

public AuthorizerNodeDecl()