org.jvnet.libpam.impl
Class LinuxPasswd

java.lang.Object
  extended by com.sun.jna.Structure
      extended by org.jvnet.libpam.impl.CLibrary.passwd
          extended by org.jvnet.libpam.impl.LinuxPasswd

public class LinuxPasswd
extends CLibrary.passwd

Linux passwd ?struct passwd { char *pw_name; char *pw_passwd; __uid_t pw_uid; __gid_t pw_gid; char *pw_gecos; char *pw_dir; char *pw_shell; };

Author:
Sebastian Sdorra

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
 String pw_dir
           
 String pw_gecos
           
 String pw_shell
           
 
Fields inherited from class org.jvnet.libpam.impl.CLibrary.passwd
pw_gid, pw_name, pw_passwd, pw_uid
 
Fields inherited from class com.sun.jna.Structure
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
 
Constructor Summary
LinuxPasswd()
           
 
Method Summary
 String getPwDir()
           
 String getPwGecos()
           
 String getPwShell()
           
 
Methods inherited from class org.jvnet.libpam.impl.CLibrary.passwd
getPwGid, getPwName, getPwPasswd, getPwUid, loadPasswd
 
Methods inherited from class com.sun.jna.Structure
allocateMemory, allocateMemory, autoAllocate, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, clear, ensureAllocated, equals, fieldOffset, getAutoRead, getAutoWrite, getFieldOrder, getFields, getFieldTypeInfo, getNativeAlignment, getNativeSize, getPointer, getStructAlignment, hashCode, newInstance, read, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setFieldOrder, setTypeMapper, size, sortFields, toArray, toArray, toString, toString, useMemory, useMemory, write, writeField, writeField
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

pw_gecos

public String pw_gecos

pw_dir

public String pw_dir

pw_shell

public String pw_shell
Constructor Detail

LinuxPasswd

public LinuxPasswd()
Method Detail

getPwGecos

public String getPwGecos()
Overrides:
getPwGecos in class CLibrary.passwd

getPwDir

public String getPwDir()
Overrides:
getPwDir in class CLibrary.passwd

getPwShell

public String getPwShell()
Overrides:
getPwShell in class CLibrary.passwd


Copyright © 2012. All Rights Reserved.