org.alfresco.deployment.impl.server
Class DeploymentReceiverAuthenticatorSimple

java.lang.Object
  extended by org.alfresco.deployment.impl.server.DeploymentReceiverAuthenticatorSimple
All Implemented Interfaces:
DeploymentReceiverAuthenticator

public class DeploymentReceiverAuthenticatorSimple
extends java.lang.Object
implements DeploymentReceiverAuthenticator

This is a very simple implementation of an authenticator for the deployment receiver. It contains a spring configured user id and password.


Constructor Summary
DeploymentReceiverAuthenticatorSimple()
           
 
Method Summary
 char[] getPassword()
           
 java.lang.String getUser()
           
 boolean logon(java.lang.String user, char[] password)
          Are the user and password valid for this deployment receiver?
 void setPassword(char[] password)
           
 void setUser(java.lang.String user)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeploymentReceiverAuthenticatorSimple

public DeploymentReceiverAuthenticatorSimple()
Method Detail

logon

public boolean logon(java.lang.String user,
                     char[] password)
Are the user and password valid for this deployment receiver?

Specified by:
logon in interface DeploymentReceiverAuthenticator
Parameters:
user -
password -
Returns:
true, yes - go ahead.

setUser

public void setUser(java.lang.String user)

getUser

public java.lang.String getUser()

setPassword

public void setPassword(char[] password)

getPassword

public char[] getPassword()


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.