org.n52.security.common.authentication
Class SessionIDCredentialEditor

java.lang.Object
  extended byorg.n52.security.common.authentication.SessionIDCredentialEditor
All Implemented Interfaces:
CredentialEditor

public class SessionIDCredentialEditor
extends java.lang.Object
implements CredentialEditor

Author:
Arne Broering

Constructor Summary
SessionIDCredentialEditor(AuthenticationMethod pMethod)
           
 
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
 void setSessionID(java.lang.String sessionID)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SessionIDCredentialEditor

public SessionIDCredentialEditor(AuthenticationMethod pMethod)
Method Detail

setSessionID

public void setSessionID(java.lang.String sessionID)

getFields

public Field[] getFields()
Specified by:
getFields in interface CredentialEditor

getCredential

public Credential getCredential()
Description copied from interface: CredentialEditor
The values can be anything like comma seperated username,password or a SAMLTicket.

Specified by:
getCredential in interface CredentialEditor
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

setFieldValues

public void setFieldValues(java.lang.String pValueList)
Description copied from interface: CredentialEditor
Sets the credential values from a comma separated String representation

Specified by:
setFieldValues in interface CredentialEditor
Parameters:
pValueList - a comma separated String

getAuthenticationMethod

public AuthenticationMethod getAuthenticationMethod()
Specified by:
getAuthenticationMethod in interface CredentialEditor


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