Spring Security Framework

org.springframework.security.acls.domain
Interface PermissionFactory

All Known Implementing Classes:
DefaultPermissionFactory

public interface PermissionFactory

Provides a simple mechanism to retrieve Permission instances from integer masks.

Since:
2.0.3
Author:
Ben Alex

Method Summary
 Permission buildFromMask(int mask)
          Dynamically creates a CumulativePermission or BasePermission representing the active bits in the passed mask.
 

Method Detail

buildFromMask

Permission buildFromMask(int mask)
Dynamically creates a CumulativePermission or BasePermission representing the active bits in the passed mask.

Parameters:
mask - to build
Returns:
a Permission representing the requested object

Spring Security Framework

Copyright © 2004-2010 SpringSource, Inc. All Rights Reserved.