Coverage Report - org.acegisecurity.event.authorization.PublicInvocationEvent
 
Classes in this File Line Coverage Branch Coverage Complexity
PublicInvocationEvent
100% 
N/A 
1
 
 1  
 /* Copyright 2004, 2005, 2006 Acegi Technology Pty Limited
 2  
  *
 3  
  * Licensed under the Apache License, Version 2.0 (the "License");
 4  
  * you may not use this file except in compliance with the License.
 5  
  * You may obtain a copy of the License at
 6  
  *
 7  
  *     http://www.apache.org/licenses/LICENSE-2.0
 8  
  *
 9  
  * Unless required by applicable law or agreed to in writing, software
 10  
  * distributed under the License is distributed on an "AS IS" BASIS,
 11  
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 12  
  * See the License for the specific language governing permissions and
 13  
  * limitations under the License.
 14  
  */
 15  
 
 16  
 package org.acegisecurity.event.authorization;
 17  
 
 18  
 /**
 19  
  * Event that is generated whenever a public secure object is invoked.<p>A public secure object is a secure object
 20  
  * that has no <code>ConfigAttributeDefinition</code> defined. A public secure object will not cause the
 21  
  * <code>SecurityContextHolder</code> to be inspected or authenticated, and no authorization will take place.</p>
 22  
  *  <p>Published just before the secure object attempts to proceed.</p>
 23  
  *
 24  
  * @author Ben Alex
 25  
  * @version $Id: PublicInvocationEvent.java 1496 2006-05-23 13:38:33Z benalex $
 26  
  */
 27  
 public class PublicInvocationEvent extends AbstractAuthorizationEvent {
 28  
     //~ Constructors ===================================================================================================
 29  
 
 30  
 /**
 31  
      * Construct the event, passing in the public secure object.
 32  
      *
 33  
      * @param secureObject the public secure object
 34  
      */
 35  
     public PublicInvocationEvent(Object secureObject) {
 36  3
         super(secureObject);
 37  3
     }
 38  
 }