org.jvnet.libpam.impl
Class BSDPasswd

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

public class BSDPasswd
extends CLibrary.passwd

FreeeBSD, OpenBSD and MacOS passwd struct passwd { char *pw_name; char *pw_passwd; uid_t pw_uid; gid_t pw_gid; time_t pw_change; char *pw_class; char *pw_gecos; char *pw_dir; char *pw_shell; time_t pw_expire; };

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
 long pw_change
           
 String pw_class
           
 String pw_dir
           
 long pw_expire
           
 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
BSDPasswd()
           
 
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_change

public long pw_change

pw_class

public String pw_class

pw_gecos

public String pw_gecos

pw_dir

public String pw_dir

pw_shell

public String pw_shell

pw_expire

public long pw_expire
Constructor Detail

BSDPasswd

public BSDPasswd()
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.