FileDocCategorySizeDatePackage
CachedPermissionImpl.javaAPI DocGlassfish v2 API3175Fri May 04 22:32:04 BST 2007com.sun.enterprise.security

CachedPermissionImpl

public class CachedPermissionImpl extends Object implements com.sun.enterprise.security.CachedPermission
This class is
author
Ron Monzillo

Fields Summary
com.sun.enterprise.security.PermissionCache
permissionCache
Permission
permission
boolean
granted
Epoch
epoch
Constructors Summary
public CachedPermissionImpl(com.sun.enterprise.security.PermissionCache c, Permission p)

	this.permissionCache = c;
	this.permission = p;
	epoch = new Epoch();
    
Methods Summary
public booleancheckPermission()

	boolean granted = false;
	if (permissionCache != null) {
	    granted = permissionCache.checkPermission(this.permission,this.epoch);
	}
	return granted;
    
public java.security.PermissiongetPermission()

	return this.permission;
    
public com.sun.enterprise.security.PermissionCachegetPermissionCache()

	return this.permissionCache;