Package org.jboss.security

Examples of org.jboss.security.RealmMapping


/*    */   }
/*    */
/*    */   public Object createPerClass(Advisor advisor)
/*    */   {
/* 50 */     AuthenticationManager manager = (AuthenticationManager)advisor.getDefaultMetaData().getMetaData("security", "authentication-manager");
/* 51 */     RealmMapping mapping = (RealmMapping)advisor.getDefaultMetaData().getMetaData("security", "realm-mapping");
/* 52 */     if (manager == null)
/*    */     {
/* 54 */       SecurityDomain domain = (SecurityDomain)advisor.resolveAnnotation(SecurityDomain.class);
/* 55 */       if (domain == null) throw new RuntimeException("Unable to determine security domain");
/*    */       try
View Full Code Here


/*     */
/*  99 */     Interceptor interceptor = new NullInterceptor();
/* 100 */     if (domain != null)
/*     */     {
/* 102 */       AuthenticationManager manager = (AuthenticationManager)domain;
/* 103 */       RealmMapping mapping = (RealmMapping)domain;
/*     */
/* 106 */       interceptor = new RunAsSecurityInterceptorv2(container, getRunAsIdentity(container));
/*     */     }
/* 108 */     return interceptor;
/*     */   }
View Full Code Here

TOP

Related Classes of org.jboss.security.RealmMapping

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.