|
|||||||||||||||||||
| Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
| PublicInvocationEvent.java | - | 100% | 100% | 100% |
|
||||||||||||||
| 1 | /* Copyright 2004, 2005 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. | |
| 20 | * | |
| 21 | * <p> | |
| 22 | * A public secure object is a secure object that has no | |
| 23 | * <code>ConfigAttributeDefinition</code> defined. A public secure object will | |
| 24 | * not cause the <code>SecurityContextHolder</code> to be inspected or authenticated, | |
| 25 | * and no authorization will take place. | |
| 26 | * </p> | |
| 27 | * | |
| 28 | * <p> | |
| 29 | * Published just before the secure object attempts to proceed. | |
| 30 | * </p> | |
| 31 | * | |
| 32 | * @author Ben Alex | |
| 33 | * @version $Id: PublicInvocationEvent.java,v 1.3 2005/11/17 00:56:09 benalex Exp $ | |
| 34 | */ | |
| 35 | public class PublicInvocationEvent extends AbstractAuthorizationEvent { | |
| 36 | //~ Constructors =========================================================== | |
| 37 | ||
| 38 | /** | |
| 39 | * Construct the event, passing in the public secure object. | |
| 40 | * | |
| 41 | * @param secureObject the public secure object | |
| 42 | */ | |
| 43 | 2 | public PublicInvocationEvent(Object secureObject) { |
| 44 | 2 | super(secureObject); |
| 45 | } | |
| 46 | } |
|
||||||||||