org.cometd.bayeux.server
Class Authorizer.Result

java.lang.Object
  extended by org.cometd.bayeux.server.Authorizer.Result
Direct Known Subclasses:
Authorizer.Result.Denied, Authorizer.Result.Granted, Authorizer.Result.Ignored
Enclosing interface:
Authorizer

public abstract static class Authorizer.Result
extends Object

The result of an authentication request.


Nested Class Summary
static class Authorizer.Result.Denied
           
static class Authorizer.Result.Granted
           
static class Authorizer.Result.Ignored
           
 
Constructor Summary
Authorizer.Result()
           
 
Method Summary
static Authorizer.Result deny(String reason)
           
static Authorizer.Result grant()
           
static Authorizer.Result ignore()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Authorizer.Result

public Authorizer.Result()
Method Detail

deny

public static Authorizer.Result deny(String reason)
Parameters:
reason - the reason for which the authorization is denied
Returns:
a result that denies the authorization

grant

public static Authorizer.Result grant()
Returns:
a result that grants the authorization

ignore

public static Authorizer.Result ignore()
Returns:
a result that ignores the authorization, leaving the decision to other Authorizers.

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2008-2010 Dojo Foundation. All Rights Reserved.