|
DLESE Tools v1.6.0 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.dlese.dpc.schemedit.security.auth.ucas.MyUcasClient
public class MyUcasClient
Extend the UCAS AuthClient class to implement the properties file as a static variable so its location can be determined and set by LoginModule.
NOTE: this code based almost entirely on edu.ucar.cisl.authenticator.client.AuthClient;
| Field Summary | |
|---|---|
protected static String |
host
|
protected static boolean |
initialized
|
static String |
PASSWORD
NOT YET DOCUMENTED |
protected static String |
serverLogin
|
protected static String |
serverPassword
|
static String |
TOKEN
NOT YET DOCUMENTED |
| Constructor Summary | |
|---|---|
MyUcasClient()
|
|
| Method Summary | |
|---|---|
static boolean |
authenticate(String authType,
String username,
String password)
NOT YET DOCUMENTED |
static edu.ucar.cisl.authenticator.domain.Authentication |
getAuthentication(String authType,
String username,
String password)
Gets the authentication attribute of the AuthClient class |
static void |
main(String[] args)
NOT YET DOCUMENTED |
static void |
setPropsPath(String path)
Sets the propsPath attribute of the MyUcasClient class |
static void |
setup()
Set up from propsfile - most of this method is copied from UCAS AuthClient. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static boolean initialized
protected static String host
public static final String PASSWORD
public static final String TOKEN
protected static String serverLogin
protected static String serverPassword
| Constructor Detail |
|---|
public MyUcasClient()
| Method Detail |
|---|
public static boolean authenticate(String authType,
String username,
String password)
throws edu.ucar.cisl.authenticator.client.AuthClientException
authType - NOT YET DOCUMENTEDusername - NOT YET DOCUMENTEDpassword - NOT YET DOCUMENTED
edu.ucar.cisl.authenticator.client.AuthClientException - NOT YET DOCUMENTED
public static edu.ucar.cisl.authenticator.domain.Authentication getAuthentication(String authType,
String username,
String password)
throws edu.ucar.cisl.authenticator.client.AuthClientException
authType - NOT YET DOCUMENTEDusername - NOT YET DOCUMENTEDpassword - NOT YET DOCUMENTED
edu.ucar.cisl.authenticator.client.AuthClientException - NOT YET DOCUMENTEDpublic static void main(String[] args)
args - NOT YET DOCUMENTEDpublic static void setPropsPath(String path)
path - The new ppropsPath value
public static void setup()
throws edu.ucar.cisl.authenticator.client.AuthClientException
edu.ucar.cisl.authenticator.client.AuthClientException - NOT YET DOCUMENTED
|
DLESE Tools v1.6.0 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||