public class SecurityAdminServiceClient extends Object
| Constructor and Description |
|---|
SecurityAdminServiceClient(String backEndUrl,
String sessionCookie) |
SecurityAdminServiceClient(String backEndUrl,
String userName,
String password) |
| Modifier and Type | Method and Description |
|---|---|
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) |
public SecurityAdminServiceClient(String backEndUrl, String sessionCookie) throws org.apache.axis2.AxisFault
org.apache.axis2.AxisFaultpublic void applySecurity(String serviceName, String policyId, String[] userGroups, String[] trustedKeyStoreArray, String privateStore) throws org.wso2.carbon.security.mgt.stub.config.SecurityAdminServiceSecurityConfigExceptionException, RemoteException
serviceName - service namepolicyId - policy iduserGroups - user groupstrustedKeyStoreArray - trusted key store ArrayprivateStore - private storeorg.wso2.carbon.security.mgt.stub.config.SecurityAdminServiceSecurityConfigExceptionExceptionRemoteExceptionpublic void applySecurity(String serviceName, String policyPath, String[] trustedKeyStoreArray, String privateStore, String[] userGroups) throws org.wso2.carbon.security.mgt.stub.config.SecurityAdminServiceSecurityConfigExceptionException, RemoteException
serviceName - service namepolicyPath - policy pathtrustedKeyStoreArray - trusted key store ArrayprivateStore - private storeuserGroups - user groupsorg.wso2.carbon.security.mgt.stub.config.SecurityAdminServiceSecurityConfigExceptionExceptionRemoteExceptionpublic void applyKerberosSecurityPolicy(String serviceName, String policyId, String ServicePrincipalName, String ServicePrincipalPassword) throws org.wso2.carbon.security.mgt.stub.config.SecurityAdminServiceSecurityConfigExceptionException, RemoteException
org.wso2.carbon.security.mgt.stub.config.SecurityAdminServiceSecurityConfigExceptionExceptionRemoteExceptionpublic void disableSecurity(String serviceName) throws org.wso2.carbon.security.mgt.stub.config.SecurityAdminServiceSecurityConfigExceptionException, RemoteException
org.wso2.carbon.security.mgt.stub.config.SecurityAdminServiceSecurityConfigExceptionExceptionRemoteExceptionCopyright © 2015 WSO2. All rights reserved.