org.n52.security.common.authentication
Class Field
java.lang.Object
org.n52.security.common.authentication.Field
- public class Field
- extends java.lang.Object
Fields are associated with Credentials. They can be used to (auto-)generate GUI-components for the input of
the "Credential-values"
- Author:
- Arne Broering
Constructor Summary |
Field(java.lang.String pName,
java.lang.String pDescription)
Creates an editable credential field. |
Field(java.lang.String pName,
java.lang.String pDescription,
java.lang.String pValue,
boolean pIsReadOnly)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field
public Field(java.lang.String pName,
java.lang.String pDescription)
- Creates an editable credential field.
- Parameters:
pName
- pDescription
-
Field
public Field(java.lang.String pName,
java.lang.String pDescription,
java.lang.String pValue,
boolean pIsReadOnly)
setValue
public void setValue(java.lang.String pValue)
- Sets the value of this credential field. The call has no effect, if the field
isReadonly()
evaluates to true
.
- Parameters:
pValue
-
getValue
public java.lang.String getValue()
getDescription
public java.lang.String getDescription()
getName
public java.lang.String getName()
isReadonly
public boolean isReadonly()
Copyright © 2004-2007 52 North. All Rights Reserved.