org.gcube.accounting.security.authn
Class DummyAuthenticationManager

java.lang.Object
  extended by org.gcube.accounting.security.authn.DummyAuthenticationManager
All Implemented Interfaces:
AuthenticationManager

public class DummyAuthenticationManager
extends Object
implements AuthenticationManager

An authentication authority authenticating any received credentials.


Constructor Summary
DummyAuthenticationManager()
           
 
Method Summary
 boolean authenticate(String username, String password)
           
 String getRealm()
           
 void setRealm(String realm)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DummyAuthenticationManager

public DummyAuthenticationManager()
Method Detail

authenticate

public boolean authenticate(String username,
                            String password)
Specified by:
authenticate in interface AuthenticationManager

getRealm

public String getRealm()
Specified by:
getRealm in interface AuthenticationManager

setRealm

public void setRealm(String realm)


Copyright © 2013. All Rights Reserved.