Class BamServerProfileConfigAdminClient
- java.lang.Object
-
- org.wso2.carbon.mediator.bam.config.ui.BamServerProfileConfigAdminClient
-
public class BamServerProfileConfigAdminClient extends Object
Admin client that uses the backend persistence and cryptographic facilities
-
-
Constructor Summary
Constructors Constructor Description BamServerProfileConfigAdminClient(String cookie, String backendServerURL, org.apache.axis2.context.ConfigurationContext configCtx, Locale locale)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
addCollection(String path)
String
base64DecodeAndDecrypt(String cipherText)
String
encryptAndBase64Encode(String plainText)
String
getResourceString(String bamServerProfileLocation)
String[]
getServerProfilePathList(String bamServerProfileLocation)
boolean
removeResource(String path)
boolean
resourceAlreadyExists(String bamServerProfileLocation)
void
saveResourceString(String resourceString, String bamServerProfileLocation)
-
-
-
Method Detail
-
saveResourceString
public void saveResourceString(String resourceString, String bamServerProfileLocation) throws RemoteException
- Throws:
RemoteException
-
getResourceString
public String getResourceString(String bamServerProfileLocation) throws RemoteException
- Throws:
RemoteException
-
resourceAlreadyExists
public boolean resourceAlreadyExists(String bamServerProfileLocation) throws RemoteException
- Throws:
RemoteException
-
addCollection
public boolean addCollection(String path) throws RemoteException
- Throws:
RemoteException
-
removeResource
public boolean removeResource(String path) throws RemoteException
- Throws:
RemoteException
-
getServerProfilePathList
public String[] getServerProfilePathList(String bamServerProfileLocation) throws RemoteException
- Throws:
RemoteException
-
encryptAndBase64Encode
public String encryptAndBase64Encode(String plainText) throws RemoteException
- Throws:
RemoteException
-
base64DecodeAndDecrypt
public String base64DecodeAndDecrypt(String cipherText) throws RemoteException
- Throws:
RemoteException
-
-