com.novell.ecb
Interface Authenticatable


public interface Authenticatable

Authenticatable defines the interface for all Command Beans that depend on authentication.


Method Summary
 Connection getConnection()
          Gets the connection that has been authenticated.
 boolean isAuthenticated()
          Determines whether the connection has been authenticated or not.
 void setConnection(Connection connection)
          Sets the connection that has been authenticated.
 

Method Detail

isAuthenticated

public boolean isAuthenticated()
Determines whether the connection has been authenticated or not.

Returns:
boolean the authenticated flag.

setConnection

public void setConnection(Connection connection)
                   throws CommandException
Sets the connection that has been authenticated.

Parameters:
connection - The connection object.
CommandException

getConnection

public Connection getConnection()
                         throws CommandException
Gets the connection that has been authenticated.

Returns:
Connection The authenticated connection.
CommandException


Copyright © 2001-2003 Novell, Inc. All Rights Reserved.