anvil.server.simple
Class SimpleWebAuthorization

java.lang.Object
  |
  +--anvil.server.simple.SimpleWebAuthorization
All Implemented Interfaces:
Authorization

public class SimpleWebAuthorization
extends java.lang.Object
implements Authorization

class SimpleWebAuthorization


Constructor Summary
SimpleWebAuthorization()
           
 
Method Summary
 boolean authorize(Context context)
           
 Realm getRealm()
           
 void initialize(Zone zone)
           
 boolean isSessionRequired()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleWebAuthorization

public SimpleWebAuthorization()
Method Detail

initialize

public void initialize(Zone zone)
Specified by:
initialize in interface Authorization

getRealm

public Realm getRealm()
Specified by:
getRealm in interface Authorization

isSessionRequired

public boolean isSessionRequired()
Specified by:
isSessionRequired in interface Authorization

authorize

public boolean authorize(Context context)
                  throws java.io.IOException
Specified by:
authorize in interface Authorization
java.io.IOException

stop

public void stop()
Specified by:
stop in interface Authorization