Openfire 3.3.2 Javadoc

org.jivesoftware.openfire.sasl
Class GSSAPIAuthorizationProvider

java.lang.Object
  extended by org.jivesoftware.openfire.sasl.GSSAPIAuthorizationProvider
All Implemented Interfaces:
AuthorizationPolicy

public class GSSAPIAuthorizationProvider
extends Object
implements AuthorizationPolicy

Provider for gsaapi authorization using one of the 3 policy states.

Author:
Derek DeMoro

Constructor Summary
GSSAPIAuthorizationProvider()
           
 
Method Summary
 boolean authorize(String username, String principal)
          Authorize the authenticated used to the requested username.
 String description()
          Returns a description of the Policy
 String name()
          Returns the short name of the Policy
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GSSAPIAuthorizationProvider

public GSSAPIAuthorizationProvider()
Method Detail

authorize

public boolean authorize(String username,
                         String principal)
Authorize the authenticated used to the requested username. This uses the GSSAPIAuthProvider if it is the specified provider.

Specified by:
authorize in interface AuthorizationPolicy
Parameters:
username - the username.
principal - the principal.
Returns:
true if the user is authorized.

name

public String name()
Description copied from interface: AuthorizationPolicy
Returns the short name of the Policy

Specified by:
name in interface AuthorizationPolicy
Returns:
The short name of the Policy

description

public String description()
Description copied from interface: AuthorizationPolicy
Returns a description of the Policy

Specified by:
description in interface AuthorizationPolicy
Returns:
The description of the Policy.

Openfire 3.3.2 Javadoc

Copyright © 2003-2007 Jive Software.