com.mf.roundhouse.core.services
Class AuthServiceClient
java.lang.Object
com.mf.roundhouse.core.services.AuthServiceClient
- public class AuthServiceClient
- extends java.lang.Object
Simple client stub for interacting with the authentication service.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AuthServiceClient
public AuthServiceClient()
getPermissionsForAuthToken
public java.util.Collection getPermissionsForAuthToken(java.lang.String authToken)
throws java.lang.Exception
- Throws:
java.lang.Exception
authenticateByUserId
public AuthenticationResponse authenticateByUserId(java.lang.String userId,
java.lang.String password)
throws java.lang.Exception
- Throws:
java.lang.Exception
authenticateByEmail
public AuthenticationResponse authenticateByEmail(java.lang.String email,
java.lang.String password)
throws java.lang.Exception
- Throws:
java.lang.Exception
processRequest
public AuthenticationResponse processRequest(AuthenticationRequest request)
throws java.lang.Exception
- Throws:
java.lang.Exception
getServiceUri
public java.lang.String getServiceUri()
- Returns:
getServiceUrl
public java.lang.String getServiceUrl()
- Returns:
setServiceUri
public void setServiceUri(java.lang.String string)
- Parameters:
string
-
setServiceUrl
public void setServiceUrl(java.lang.String string)
- Parameters:
string
-
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2004 Media Fortress, LLC. Licensed for commercial use under the Apache 2.0 License.