Oracle Application Server Wireless Java API Reference
B10400-01

oracle.panama.rt.hook
Interface AuthenticationContext


public interface AuthenticationContext

This interface represents the authentication context that is passed from the authentication module to the authorization module. It is between the authentication and authorization to agree on a common object type. The context may convey name/password pairs, tokens, cookies, JAAS objects such as Principle, Subject, Role, etc.

Since:
Oracle9i Application Server Wireless Edition

Method Summary
 DeviceAddress getAuthenticatedAddress()
          The address used for authentication.
 DeviceAddress[] getAuthenticatedAddresses()
          All the device addresses authenticated for this context.
 User getAuthenticatedUser()
          Get the authenticated user.
 AuthenticationInfo getAuthenticationInfo()
          Get the authentication info that describes the trust level of the authentication context.
 java.lang.String getAuthenticationType()
          Get the authentication type.
 boolean isAuthenticated()
          The context passed the norminal authentication level.

 

Method Detail

getAuthenticationType

public java.lang.String getAuthenticationType()
Get the authentication type. Possible values are "BASIC", "DIGEST", and "SSL".
Returns:
one of the predefined string values

getAuthenticationInfo

public AuthenticationInfo getAuthenticationInfo()
Get the authentication info that describes the trust level of the authentication context.

getAuthenticatedUser

public User getAuthenticatedUser()
Get the authenticated user.

getAuthenticatedAddresses

public DeviceAddress[] getAuthenticatedAddresses()
All the device addresses authenticated for this context.

getAuthenticatedAddress

public DeviceAddress getAuthenticatedAddress()
The address used for authentication.

isAuthenticated

public boolean isAuthenticated()
The context passed the norminal authentication level.

Oracle Application Server Wireless Java API Reference
B10400-01

Copyright © 2003 Oracle Corporation. All Rights Reserved.