|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
The API Level Authentication Framework interface is used by the client to authenticate the Framework. It is also used to initiate the authentication process. If the IpAPILevelAuthentication interface is implemented by a Framework, then selectAuthenticationMechanism(), challenge(), abortAuthentication() and authenticationSucceeded () shall be implemented. IpAPILevelAuthentication inherits the requirements of IpAuthentication, therefore requestAccess() shall be implemented.
| Method Summary | |
void |
abortAuthentication()
The client uses this method to abort the authentication process where the framework is authenticating the client. |
void |
authenticationSucceeded()
The client uses this method to inform the framework of the success of the authentication attempt. |
byte[] |
challenge(byte[] challenge)
This method is used by the client to authenticate the framework. |
java.lang.String |
selectAuthenticationMechanism(java.lang.String authMechanismList)
The client uses this method to inform the Framework of the different authentication mechanisms it supports as part of API level Authentication. |
| Methods inherited from interface org.csapi.jr.se.fw.fw_access.trust_and_security.Authentication |
requestAccess |
| Method Detail |
public void abortAuthentication()
throws CommonException,
AccessDeniedException,
PlatformException
CommonException - Defines the structure of the exception class which is applicable to all methods.
AccessDeniedException - The client is not currently authenticated with the framework
PlatformException - The implementation detected an internal (for example, communication) error
public void authenticationSucceeded()
throws CommonException,
AccessDeniedException,
PlatformException
CommonException - Defines the structure of the exception class which is applicable to all methods.
AccessDeniedException - The client is not currently authenticated with the framework
PlatformException - The implementation detected an internal (for example, communication) error
public java.lang.String selectAuthenticationMechanism(java.lang.String authMechanismList)
throws CommonException,
AccessDeniedException,
NoAcceptableAuthenticationMechanismException,
PlatformException
authMechanismList - The list of authentication mechanisms supported by the client.
CommonException - Defines the structure of the exception class which is applicable to all methods.
AccessDeniedException - The client is not currently authenticated with the framework
NoAcceptableAuthenticationMechanismException - No authentication mechanism, which is acceptable to the framework, is supported by the client
PlatformException - The implementation detected an internal (for example, communication) error
public byte[] challenge(byte[] challenge)
throws CommonException,
AccessDeniedException,
PlatformException
challenge - The challenge presented by the client to be responded to by the framework. The challenge format used will be in accordance with the IETF PPP Authentication Protocols - Challenge Handshake Authentication Protocol (RFC 1994).
The challenge octet set must be formatted as a CHAP Challenge packet as defined in section 4.1 of RFC 1994. A complete and properly formatted CHAP Challenge packet must be used. The Name field of the CHAP Challenge packet must be present and contain a valid value in order for the CHAP Response to be valid. However, the Name field is not used in the authentication process.
Steps for constructing the challenge octet set
1. Create a random challenge value (octet set). Per RFC 1994, this value must between 1 and 255 octets in length.
2. Construct a CHAP Challenge packet based on 4.1 of RFC 1994 with the octet set from the previous step passed in the Value field within the CHAP Challenge.
CommonException - Defines the structure of the exception class which is applicable to all methods.
AccessDeniedException - The client is not currently authenticated with the framework
PlatformException - The implementation detected an internal (for example, communication) error
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||