gov.nasa.pds.harvest.security
Class SecurityClient
java.lang.Object
gov.nasa.pds.harvest.security.SecurityClient
public class SecurityClient
- extends Object
Class that provides an interface to the PDS Security Service
- Author:
- mcayanan
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AUTHENTICATE
public static final String AUTHENTICATE
- See Also:
- Constant Field Values
IS_TOKEN_VALID
public static final String IS_TOKEN_VALID
- See Also:
- Constant Field Values
LOGOUT
public static final String LOGOUT
- See Also:
- Constant Field Values
SecurityClient
public SecurityClient(String baseURL)
- Constructor
isTokenValid
public boolean isTokenValid(String token)
throws SecurityClientException
- Throws:
SecurityClientException
authenticate
public String authenticate(String username,
String password)
throws SecurityClientException
- Throws:
SecurityClientException
logout
public void logout(String token)
throws SecurityClientException
- Throws:
SecurityClientException
Copyright © 2005-2010 Planetary Data System. All Rights Reserved.