예제 #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();
 }