Package org.jboss.security.auth.callback

Examples of org.jboss.security.auth.callback.SecurityAssociationHandler


      {
         //Need to get a wrapper
         ServerAuthModule sam = new DelegatingServerAuthModule();
         Map options = new HashMap();
         options.put("javax.security.auth.login.LoginContext", secDomain); //Name of sec domain
         sam.initialize(null, null, new SecurityAssociationHandler(), options);
         modules.add(sam);
      }
      else
      {
         JASPIAuthenticationInfo jai = (JASPIAuthenticationInfo)bai;
View Full Code Here


   }

   @Override
   protected boolean validate(Subject clientSubject, MessageInfo messageInfo) throws AuthException
  
      callbackHandler = new SecurityAssociationHandler(getUserName(messageInfo),
            getCredential(messageInfo));
      return super.validate(clientSubject, messageInfo);
   }
View Full Code Here

      synchronized (cache)
      {
         if (manager != null)
            return manager;

         manager = new JaasSecurityManager(name, new SecurityAssociationHandler());
         cache.put(name, manager);
      }
      return manager;
   }
View Full Code Here

   /** Creates a default JaasSecurityManager for with a securityDomain
    name of 'other'.
    */
   public SynchronizedJaasSecurityManager()
   {
      this("other", new SecurityAssociationHandler());
   }
View Full Code Here

   /** Creates a default JaasSecurityManager for with a securityDomain
    name of 'other'.
    */
   public JaasSecurityManagerBase()
   {
      this("other", new SecurityAssociationHandler());
   }
View Full Code Here

   }

   @Override
   protected boolean validate(Subject clientSubject, MessageInfo messageInfo) throws AuthException
  
      callbackHandler = new SecurityAssociationHandler(getUserName(messageInfo),
            getCredential(messageInfo));
      return super.validate(clientSubject, messageInfo);
   }
View Full Code Here

   /** Creates a default JaasSecurityManager for with a securityDomain
    name of 'other'.
    */
   public JaasSecurityManagerBase()
   {
      this("other", new SecurityAssociationHandler());
   }
View Full Code Here

   }

   @Override
   protected boolean validate(Subject clientSubject) throws AuthException
  
      callbackHandler = new SecurityAssociationHandler(getUserName(),getCredential());
      return super.validate(clientSubject);
   }
View Full Code Here

/*     */   protected Logger log;
/*     */   protected boolean trace;
/*     */
/*     */   public JaasSecurityManagerBase()
/*     */   {
/* 234 */     this("other", new SecurityAssociationHandler());
/*     */   }
View Full Code Here

/*     */   {
/*     */   }
/*     */
/*     */   public JaasSecurityDomain(String securityDomain)
/*     */   {
/* 183 */     this(securityDomain, new SecurityAssociationHandler());
/*     */   }
View Full Code Here

TOP

Related Classes of org.jboss.security.auth.callback.SecurityAssociationHandler

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.