org.jclouds.scriptbuilder.statements.login
Class ReplaceShadowPasswordEntry

java.lang.Object
  extended by org.jclouds.scriptbuilder.statements.login.ReplaceShadowPasswordEntry
All Implemented Interfaces:
Statement
Direct Known Subclasses:
ReplaceShadowPasswordEntryOfLoginUser

public class ReplaceShadowPasswordEntry
extends Object
implements Statement

Replaces the password entry for a user in the shadow file, using SHA-512 crypt syntax.

Author:
Adrian Cole

Constructor Summary
ReplaceShadowPasswordEntry(String login, String password)
           
 
Method Summary
 boolean equals(Object obj)
           
 Iterable<String> functionDependencies(OsFamily family)
           
 int hashCode()
           
 String render(OsFamily family)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReplaceShadowPasswordEntry

public ReplaceShadowPasswordEntry(String login,
                                  String password)
Method Detail

functionDependencies

public Iterable<String> functionDependencies(OsFamily family)
Specified by:
functionDependencies in interface Statement

render

public String render(OsFamily family)
Specified by:
render in interface Statement

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2009-2011 jclouds. All Rights Reserved.