All Downloads are FREE. Search and download functionalities are using the official Maven repository.

edu.uiuc.ncsa.myproxy.oa4mp.server.admin.transactions.DSTransactionKeys Maven / Gradle / Ivy

The newest version!
package edu.uiuc.ncsa.myproxy.oa4mp.server.admin.transactions;

import edu.uiuc.ncsa.oa4mp.delegation.server.storage.support.ServiceTransactionKeys;

import java.util.List;

/**
* 

Created by Jeff Gaynor
* on 4/25/12 at 3:08 PM */ public class DSTransactionKeys extends ServiceTransactionKeys { String certReq = "certreq"; String cert = "certificate"; String clientKey = "oauth_consumer_key"; String username = "username"; String myproxyUsername = "myproxyUsername"; public String myproxyUsername(String... x) { if (0 < x.length) myproxyUsername = x[0]; return myproxyUsername; } public String certReq(String... x) { if (0 < x.length) certReq = x[0]; return certReq; } public String cert(String... x) { if (0 < x.length) cert = x[0]; return cert; } public String clientKey(String... x) { if (0 < x.length) clientKey = x[0]; return clientKey; } public String username(String... x) { if (0 < x.length) username = x[0]; return username; } @Override public List allKeys() { List allKeys = super.allKeys(); allKeys.add(myproxyUsername()); allKeys.add(certReq()); allKeys.add(cert()); allKeys.add(clientKey()); allKeys.add(username()); return allKeys; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy