org.wso2.carbon.integration.common.admin.client
Class SecurityAdminServiceClient
java.lang.Object
org.wso2.carbon.integration.common.admin.client.SecurityAdminServiceClient
public class SecurityAdminServiceClient
- extends Object
|
Method Summary |
void |
applyKerberosSecurityPolicy(String serviceName,
String policyId,
String ServicePrincipalName,
String ServicePrincipalPassword)
|
void |
applySecurity(String serviceName,
String policyId,
String[] userGroups,
String[] trustedKeyStoreArray,
String privateStore)
Apply security by passing policy id |
void |
applySecurity(String serviceName,
String policyPath,
String[] trustedKeyStoreArray,
String privateStore,
String[] userGroups)
Apply security by passing policy path |
void |
disableSecurity(String serviceName)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SecurityAdminServiceClient
public SecurityAdminServiceClient(String backEndUrl,
String sessionCookie)
throws org.apache.axis2.AxisFault
- Throws:
org.apache.axis2.AxisFault
SecurityAdminServiceClient
public SecurityAdminServiceClient(String backEndUrl,
String userName,
String password)
throws org.apache.axis2.AxisFault
- Throws:
org.apache.axis2.AxisFault
applySecurity
public void applySecurity(String serviceName,
String policyId,
String[] userGroups,
String[] trustedKeyStoreArray,
String privateStore)
throws org.wso2.carbon.security.mgt.stub.config.SecurityAdminServiceSecurityConfigExceptionException,
RemoteException
- Apply security by passing policy id
- Parameters:
serviceName - service namepolicyId - policy iduserGroups - user groupstrustedKeyStoreArray - trusted key store ArrayprivateStore - private store
- Throws:
org.wso2.carbon.security.mgt.stub.config.SecurityAdminServiceSecurityConfigExceptionException
RemoteException
applySecurity
public void applySecurity(String serviceName,
String policyPath,
String[] trustedKeyStoreArray,
String privateStore,
String[] userGroups)
throws org.wso2.carbon.security.mgt.stub.config.SecurityAdminServiceSecurityConfigExceptionException,
RemoteException
- Apply security by passing policy path
- Parameters:
serviceName - service namepolicyPath - policy pathtrustedKeyStoreArray - trusted key store ArrayprivateStore - private storeuserGroups - user groups
- Throws:
org.wso2.carbon.security.mgt.stub.config.SecurityAdminServiceSecurityConfigExceptionException
RemoteException
applyKerberosSecurityPolicy
public void applyKerberosSecurityPolicy(String serviceName,
String policyId,
String ServicePrincipalName,
String ServicePrincipalPassword)
throws org.wso2.carbon.security.mgt.stub.config.SecurityAdminServiceSecurityConfigExceptionException,
RemoteException
- Throws:
org.wso2.carbon.security.mgt.stub.config.SecurityAdminServiceSecurityConfigExceptionException
RemoteException
disableSecurity
public void disableSecurity(String serviceName)
throws org.wso2.carbon.security.mgt.stub.config.SecurityAdminServiceSecurityConfigExceptionException,
RemoteException
- Throws:
org.wso2.carbon.security.mgt.stub.config.SecurityAdminServiceSecurityConfigExceptionException
RemoteException
Copyright © 2015 WSO2. All rights reserved.