* @throws Exception on any error
*/
public ActionForward disable(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response)
throws Exception {
PolicyUtil.checkPermission(PolicyConstants.AUTHENTICATION_SCHEMES_RESOURCE_TYPE, PolicyConstants.PERM_EDIT_AND_ASSIGN, request);
AuthenticationSchemesForm schemesForm = (AuthenticationSchemesForm) form;
int id = schemesForm.getSelectedResource();
AuthenticationScheme scheme = getAuthenticationScheme(form);
List resourceIds = PolicyDatabaseFactory.getInstance().getGrantedResourcesOfType(getSessionInfo(request).getUser(),
PolicyConstants.AUTHENTICATION_SCHEMES_RESOURCE_TYPE);
// remove the WebDav and Embedded Client as they are not sign-on-able.