1 7 package org.jboss.security.plugins; 8 9 import java.io.IOException ; 10 import javax.management.ObjectName ; 11 import org.jboss.system.ServiceMBean; 12 13 14 20 public interface JaasSecurityDomainMBean extends ServiceMBean 21 { 22 25 public String getKeyStoreType(); 26 29 public void setKeyStoreType(String type); 30 32 public String getKeyStoreURL(); 33 36 public void setKeyStoreURL(String storeURL) throws IOException ; 37 39 public void setKeyStorePass(String password); 40 41 44 public String getTrustStoreType(); 45 48 public void setTrustStoreType(String type); 49 51 public void setTrustStorePass(String password); 52 54 public String getTrustStoreURL(); 55 58 public void setTrustStoreURL(String storeURL) throws IOException ; 59 62 public void reloadKeyAndTrustStore() throws Exception ; 63 66 public ObjectName getManagerServiceName(); 67 69 public void setManagerServiceName(ObjectName jmxName); 70 71 74 public void setSalt(String salt); 75 78 public void setIterationCount(int count); 79 80 85 public byte[] encode(byte[] secret) 86 throws Exception ; 87 88 93 public byte[] decode(byte[] secret) 94 throws Exception ; 95 96 102 public String encode64(byte[] secret) 103 throws Exception ; 104 105 110 public byte[] decode64(String secret) 111 throws Exception ; 112 } 113 | Popular Tags |