|
AXL RADIUS Server API V3 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
ObjectRADIUSLogin
The RADIUSLogin uses a RADIUS client to authenticate using the Java Authtnication and Authorization Service (JAAS).
See the file RADIUSLogin.config for a description of the options.
The following Callbacks are implemented:
AccessAccept,
AccessBadPacket,
AccessChallenge,
AccessReject,
ClientException,
RADIUSCallback,
RADIUSConfirmationCallback,
RADIUSNameCallback,
RADIUSPasswordCallback,
RADIUSTextInputCallback,
RADIUSTextOutputCallback,
SetAccessRequestAttributes.
| Field Summary | |
static String |
AUTH_CHAP
"CHAP" Authentication |
static String |
AUTH_EAPMD5
"EAPMD5" Authentication |
static String |
AUTH_MSCHAP
"MSCHAP" Authentication |
static String |
AUTH_MSCHAP2
"MSCHAP2" Authentication |
static String |
AUTH_PAP
"PAP" Authentication |
| Constructor Summary | |
RADIUSLogin()
|
|
| Method Summary | |
boolean |
abort()
Abort is called if the LoginContext's overall authentication failed. |
boolean |
commit()
Commit this authentication. |
void |
initialize(Subject subject,
CallbackHandler callbackHandler,
Map sharedState,
Map options)
Initialize a few things. |
boolean |
login()
Authenticate the entity. |
boolean |
logout()
Logout the user. |
| Methods inherited from class Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final String AUTH_CHAP
public static final String AUTH_EAPMD5
public static final String AUTH_MSCHAP
public static final String AUTH_MSCHAP2
public static final String AUTH_PAP
| Constructor Detail |
public RADIUSLogin()
| Method Detail |
public boolean abort()
throws LoginException
abort in interface LoginModuleLoginException - if the abort fails.
public boolean commit()
throws LoginException
commit in interface LoginModuleLoginException - if the commit fails.
public void initialize(Subject subject,
CallbackHandler callbackHandler,
Map sharedState,
Map options)
initialize in interface LoginModulesubject - the Subject to be authenticated.callbackHandler - a CallbackHandler.sharedState - shared LoginModule state.options - options specified in the login configuration file.
public boolean login()
throws LoginException
login in interface LoginModuleFailedLoginException - if the authentication fails.
LoginException - if this LoginModule is unable to perform the authentication.
This may result from configuration file errors, RADIUS communication problems, and
actual RADIUS authentication errors.
public boolean logout()
throws LoginException
logout in interface LoginModuleLoginException - if the logout fails.
|
AXL RADIUS Server API V3 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||