|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.jna.Structure
org.jvnet.libpam.impl.CLibrary.passwd
public static class CLibrary.passwd
Comparing http://linux.die.net/man/3/getpwnam and my Mac OS X reveals that the structure of this field isn't very portable. In particular, we cannot read the real name reliably.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.sun.jna.Structure |
|---|
com.sun.jna.Structure.ByReference, com.sun.jna.Structure.ByValue |
| Field Summary | |
|---|---|
int |
pw_gid
|
java.lang.String |
pw_name
User name. |
java.lang.String |
pw_passwd
Encrypted password. |
int |
pw_uid
|
| Fields inherited from class com.sun.jna.Structure |
|---|
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE |
| Constructor Summary | |
|---|---|
CLibrary.passwd()
|
|
| Method Summary | |
|---|---|
static CLibrary.passwd |
loadPasswd(java.lang.String userName)
|
| Methods inherited from class com.sun.jna.Structure |
|---|
allocateMemory, allocateMemory, autoAllocate, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, clear, ensureAllocated, equals, getAutoRead, getAutoWrite, getFieldOrder, getFields, getNativeAlignment, getPointer, getStructAlignment, hashCode, newInstance, read, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setFieldOrder, setTypeMapper, size, sortFields, toArray, toArray, toString, useMemory, useMemory, write, writeField, writeField |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public java.lang.String pw_name
public java.lang.String pw_passwd
public int pw_uid
public int pw_gid
| Constructor Detail |
|---|
public CLibrary.passwd()
| Method Detail |
|---|
public static CLibrary.passwd loadPasswd(java.lang.String userName)
throws PAMException
PAMException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||