org.n52.security.common.authentication
Class SAMLCredentialEditor

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

public class SAMLCredentialEditor
extends java.lang.Object
implements CredentialEditor

Author:
Arne Broering

Constructor Summary
SAMLCredentialEditor(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 setSAMLTicket(SAMLTicket samlTicket)
           
 void setSAMLTicket(java.lang.String samlTicket)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SAMLCredentialEditor

public SAMLCredentialEditor(AuthenticationMethod pMethod)
Method Detail

setSAMLTicket

public void setSAMLTicket(java.lang.String samlTicket)

setSAMLTicket

public void setSAMLTicket(SAMLTicket samlTicket)

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.