PAM authenticator.
Instances are thread unsafe and non reentrant. An instace cannot be reused to authenticate multiple users.
For an overview of PAM programming, refer to the following resources:
- 著者
- Kohsuke Kawaguchi
void org.jvnet.libpam.PAM.dispose |
( |
| ) |
|
|
inline |
After a successful authentication, call this method to obtain the effective user name. This can be different from the user name that you passed to the authenticate(String, String) method. Performs an early disposal of the object, instead of letting this GC-ed. Since PAM may hold on to native resources that don't put pressure on Java GC, doing this is a good idea.
This method is called by finalize(), too, so it's not required to call this method explicitly, however.
pam_handle_t pht
Definition: PAM.java:64
int ret
Definition: PAM.java:65