Oracle Application Server Wireless Java API Reference
B14043-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

getAuthenticatedAddress

public DeviceAddress getAuthenticatedAddress()
The address used for authentication.

getAuthenticatedAddresses

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

getAuthenticatedUser

public User getAuthenticatedUser()
Get the authenticated user.

getAuthenticationInfo

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

getAuthenticationType

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

isAuthenticated

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

Oracle Application Server Wireless Java API Reference
B14043-01


Copyright © 2004 Oracle Corporation. All Rights Reserved.