Package org.jboss.metadata.ejb.spec

Examples of org.jboss.metadata.ejb.spec.ExcludeListMetaData.matches()


      JBossMetaData jbossMetaData = getJBossMetaDataWithCheck();
     
      // First check the excluded method list as this takes priority over
      // all other assignments
      ExcludeListMetaData excluded = getExcludeList();
      if (excluded != null && excluded.matches(methodName, params, interfaceType))
      {
         // No one is allowed to execute this method so add a role that
         // fails to equate to any Principal or Principal name and return.
         // We don't return null to differentiate between an explicit
         // assignment of no access and no assignment information.
View Full Code Here


   public boolean hasMethodPermissions(String methodName, Class<?>[] params, MethodInterfaceType interfaceType)
   {
      // First check the excluded method list as this takes priority over
      // all other assignments
      ExcludeListMetaData excluded = getExcludeList();
      if (excluded != null && excluded.matches(methodName, params, interfaceType))
         return true;

      // Check the permissioned methods list
      MethodPermissionsMetaData permissions = getMethodPermissions();
      if (permissions != null)
View Full Code Here

/* 1174 */     Set result = null;
/*      */
/* 1176 */     JBossMetaData jbossMetaData = getJBossMetaDataWithCheck();
/*      */
/* 1180 */     ExcludeListMetaData excluded = getExcludeList();
/* 1181 */     if ((excluded != null) && (excluded.matches(methodName, params, interfaceType)))
/*      */     {
/* 1187 */       if (result == null)
/* 1188 */         result = new HashSet();
/* 1189 */       result.add("<NOBODY>");
/* 1190 */       return result;
View Full Code Here

/*      */   }
/*      */
/*      */   public boolean hasMethodPermissions(String methodName, Class<?>[] params, MethodInterfaceType interfaceType)
/*      */   {
/* 1257 */     ExcludeListMetaData excluded = getExcludeList();
/* 1258 */     if ((excluded != null) && (excluded.matches(methodName, params, interfaceType))) {
/* 1259 */       return true;
/*      */     }
/*      */
/* 1262 */     MethodPermissionsMetaData permissions = getMethodPermissions();
/* 1263 */     if (permissions != null)
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.