All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.linkare.zas.aspectj.decider.LoggedInDecider Maven / Gradle / Ivy

Go to download

The AspectJ based implementation of the Zas project. This is the new version of the implementation of Zas which, initially, started as a M.Sc. thesis project by Paulo Zenida at ISCTE.

The newest version!
package com.linkare.zas.aspectj.decider;

import com.linkare.zas.api.Decider;
import com.linkare.zas.api.IAOPMetaData;

/**
 * 
 * @author Paulo Zenida - Linkare TI
 * 
 */
public class LoggedInDecider extends Decider {

    @Override
    protected boolean internalHasAccess(final Object subject, final String protectedObjectAbstractAccessModes, final IAOPMetaData aopMetaData) {
	return subject != null;
    }

}