org.codehaus.redback.xmlrpc.service
Class LoginServiceImpl

java.lang.Object
  extended by org.codehaus.redback.xmlrpc.service.LoginServiceImpl
All Implemented Interfaces:
LoginService

@Service
public class LoginServiceImpl
extends Object
implements LoginService


Constructor Summary
LoginServiceImpl(SecuritySystem securitySystem)
           
 
Method Summary
 int addAuthenticationKey(String providedKey, String principal, String purpose, int expirationMinutes)
           
 Boolean ping()
           
 int removeFromCache(String username)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoginServiceImpl

@Inject
public LoginServiceImpl(SecuritySystem securitySystem)
Method Detail

addAuthenticationKey

public int addAuthenticationKey(String providedKey,
                                String principal,
                                String purpose,
                                int expirationMinutes)
                         throws Exception
Specified by:
addAuthenticationKey in interface LoginService
Throws:
Exception

removeFromCache

public int removeFromCache(String username)
                    throws Exception
Specified by:
removeFromCache in interface LoginService
Throws:
Exception

ping

public Boolean ping()
             throws Exception
Specified by:
ping in interface LoginService
Throws:
Exception


Copyright © 2006-2011 Codehaus. All Rights Reserved.