* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
package org.wamblee.security.authorization;
import static org.wamblee.security.authorization.AuthorizationResult.*;
package org.wamblee.security.authorization;
import static org.wamblee.security.authorization.AuthorizationResult.*;
* appropriate is determined by a
* {@link org.wamblee.security.authorization.AbstractUserCondition}.</li>
* <li>The operation that is requested. Whether the operation is appropriate is
* appropriate is determined by a
* {@link org.wamblee.security.authorization.AbstractUserCondition}.</li>
* <li>The operation that is requested. Whether the operation is appropriate is
* </ul>
* In case all three conditions match, the condition returns the configured
* result passed at construction (GRANTED or DENIED). If the resource is not of
* </ul>
* In case all three conditions match, the condition returns the configured
* result passed at construction (GRANTED or DENIED). If the resource is not of
- protected AuthorizationResult isAllowedWithPath(String aPath, Operation aOperation,
- String aUser) {
+ protected AuthorizationResult isAllowedWithPath(String aPath,
+ Operation aOperation, String aUser) {
- LOGGER.log(Level.SEVERE, "Cannot find resource class '" + aResourceClass + "'",
- e);
+ LOGGER.log(Level.SEVERE, "Cannot find resource class '" +
+ aResourceClass + "'", e);