Ejemplo n.º 1
0
 public void init() throws Exception {
   super.init();
   if (auth_token instanceof X509Token) {
     X509Token tmp = (X509Token) auth_token;
     tmp.setCertificate();
   }
   auth_token.init();
 }
Ejemplo n.º 2
0
 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();
 }