org.semispace.google.space
Class GoogleSpaceAuthenticator
java.lang.Object
org.semispace.google.space.GoogleSpaceAuthenticator
- All Implemented Interfaces:
- TokenAuthenticator
public class GoogleSpaceAuthenticator
- extends Object
- implements TokenAuthenticator
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GoogleSpaceAuthenticator
public GoogleSpaceAuthenticator()
setSpace
public void setSpace(SemiSpaceInterface space)
authenticate
public String authenticate(String username,
String password)
- Description copied from interface:
TokenAuthenticator
- Generate a token based on the username / password. This
will typically be performed as query on a member
database, or as a question upon the space.
- Specified by:
authenticate
in interface TokenAuthenticator
isTokenValid
public boolean isTokenValid(String token)
- Specified by:
isTokenValid
in interface TokenAuthenticator
- Returns:
- True if the token is valid, false otherwise
Copyright © 2008-2012. All Rights Reserved.