org.n52.security.common.authentication
Interface CredentialEditor

All Known Implementing Classes:
PasswordCredentialEditor, SAMLCredentialEditor, SessionIDCredentialEditor

public interface CredentialEditor


Method Summary
 AuthenticationMethod getAuthenticationMethod()
           
 Credential getCredential()
          The values can be anything like comma seperated username,password or a SAMLTicket.
 Field[] getFields()
           
 void setFieldValues(java.lang.String pValueList)
          Sets the credential values from a comma separated String representation
 

Method Detail

getCredential

public Credential getCredential()
The values can be anything like comma seperated username,password or a SAMLTicket.

Returns:
the specified values of this Credential seperated in an Array.
e.g.: the values of this Credential are username and password, they will appear in the first and second field of the Array. If the value is a String representation of a SAMLTicket it will appear in the first field. The values themselves may be encoded credential values like hashvalues ov password or Base64 encoded representation

getFields

public Field[] getFields()

setFieldValues

public void setFieldValues(java.lang.String pValueList)
Sets the credential values from a comma separated String representation

Parameters:
pValueList - a comma separated String

getAuthenticationMethod

public AuthenticationMethod getAuthenticationMethod()


Copyright © 2004-2007 52 North. All Rights Reserved.