示例#1
0
 public void init() throws Exception {
   super.init();
   if (auth_token instanceof X509Token) {
     X509Token tmp = (X509Token) auth_token;
     tmp.setCertificate();
   }
   auth_token.init();
 }
示例#2
0
文件: AUTH.java 项目: belaban/JGroups
 public void init() throws Exception {
   super.init();
   if (auth_token == null)
     throw new IllegalStateException("no authentication mechanism configured");
   if (auth_token instanceof X509Token) {
     X509Token tmp = (X509Token) auth_token;
     tmp.setCertificate();
   }
   auth_token.init();
 }