1 27 package org.objectweb.jonas.security; 28 29 import java.security.NoSuchAlgorithmException ; 30 31 38 public interface JonasSecurityServiceImplMBean { 39 40 47 String encryptPassword(String string, String algo) throws NoSuchAlgorithmException ; 48 49 50 55 void addResources(String xml) throws Exception ; 56 57 62 void removeJResource(String resourceName) throws Exception ; 63 64 69 boolean isValidAlgorithm(String algo); 70 71 76 void addJResourceMemory(String name) throws Exception ; 77 78 91 void addJResourceDS(String name, 92 String dsName, 93 String userTable, 94 String userTableUsernameCol, 95 String userTablePasswordCol, 96 String roleTable, 97 String roleTableUsernameCol, 98 String roleTableRolenameCol, 99 String algorithm) throws Exception ; 100 101 102 126 void addJResourceLDAP(String name, 127 String initialContextFactory, 128 String providerUrl, 129 String securityAuthentication, 130 String securityPrincipal, 131 String securityCredentials, 132 String securityProtocol, 133 String language, 134 String referral, 135 String stateFactories, 136 String authenticationMode, 137 String userPasswordAttribute, 138 String userRolesAttribute, 139 String roleNameAttribute, 140 String baseDN, 141 String userDN, 142 String userSearchFilter, 143 String roleDN, 144 String roleSearchFilter, 145 String algorithm) throws Exception ; 146 147 } 148 | Popular Tags |