API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.security.sasl. AuthorizeCallback View Source
Author(s)
Rosanna Lee
Rob Weltman
Since
1.5
Version
Serial
Hierarchy
 Object
      AuthorizeCallback
Implements
 Callback
 Serializable
Subclasses
Description
public class AuthorizeCallback
  This callback is used by SaslServer to determine whether one entity (identified by an authenticated authentication id) can act on behalf of another entity (identified by an authorization id).
See also:   
Constructors
public AuthorizeCallback (String authnID, String authzID)
  Constructs an instance of AuthorizeCallback.
Methods
Hide/Show inherited methods
public String getAuthenticationID ()
  Returns the authentication id to check.
public String getAuthorizationID ()
  Returns the authorization id to check.
public String getAuthorizedID ()
  Returns the id of the authorized user.
public boolean isAuthorized ()
  Determines whether the authentication id is allowed to act on behalf of the authorization id.
public void setAuthorized (boolean ok)
  Sets whether the authorization is allowed.
public void setAuthorizedID (String id)
  Sets the id of the authorized entity.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar