public interface PAMLibrary
extends com.sun.jna.Library
Modifier and Type | Interface and Description |
---|---|
static class |
PAMLibrary.pam_conv |
static class |
PAMLibrary.pam_handle_t |
static class |
PAMLibrary.pam_message |
static class |
PAMLibrary.pam_response |
Modifier and Type | Field and Description |
---|---|
static PAMLibrary |
libpam |
static int |
PAM_CONV_ERR |
static int |
PAM_ERROR_MSG |
static int |
PAM_PROMPT_ECHO_OFF |
static int |
PAM_PROMPT_ECHO_ON |
static int |
PAM_SUCCESS |
static int |
PAM_TEXT_INFO |
static int |
PAM_USER |
Modifier and Type | Method and Description |
---|---|
int |
pam_acct_mgmt(PAMLibrary.pam_handle_t handle,
int flags) |
int |
pam_authenticate(PAMLibrary.pam_handle_t handle,
int flags) |
int |
pam_end(PAMLibrary.pam_handle_t handle,
int pam_status) |
int |
pam_get_item(PAMLibrary.pam_handle_t handle,
int item_type,
com.sun.jna.ptr.PointerByReference item) |
int |
pam_set_item(PAMLibrary.pam_handle_t handle,
int item_type,
String item) |
int |
pam_setcred(PAMLibrary.pam_handle_t handle,
int flags) |
int |
pam_start(String service,
String user,
PAMLibrary.pam_conv conv,
com.sun.jna.ptr.PointerByReference pamh_p) |
String |
pam_strerror(PAMLibrary.pam_handle_t handle,
int pam_error) |
static final int PAM_USER
static final int PAM_SUCCESS
static final int PAM_CONV_ERR
static final int PAM_PROMPT_ECHO_OFF
static final int PAM_PROMPT_ECHO_ON
static final int PAM_ERROR_MSG
static final int PAM_TEXT_INFO
static final PAMLibrary libpam
int pam_start(String service, String user, PAMLibrary.pam_conv conv, com.sun.jna.ptr.PointerByReference pamh_p)
int pam_end(PAMLibrary.pam_handle_t handle, int pam_status)
int pam_set_item(PAMLibrary.pam_handle_t handle, int item_type, String item)
int pam_get_item(PAMLibrary.pam_handle_t handle, int item_type, com.sun.jna.ptr.PointerByReference item)
int pam_authenticate(PAMLibrary.pam_handle_t handle, int flags)
int pam_setcred(PAMLibrary.pam_handle_t handle, int flags)
int pam_acct_mgmt(PAMLibrary.pam_handle_t handle, int flags)
String pam_strerror(PAMLibrary.pam_handle_t handle, int pam_error)
Copyright © 2018. All rights reserved.