com.kero.security.lang.nodes.DefaultAccessNode Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of Kero-Security Show documentation
Show all versions of Kero-Security Show documentation
Kero-Security is a library for statically controlling access to properties of objects / classes.
The newest version!
package com.kero.security.lang.nodes;
import com.kero.security.core.DefaultAccessOwner;
import com.kero.security.core.access.Access;
import com.kero.security.core.agent.KeroAccessAgent;
public enum DefaultAccessNode implements KsdlNode {
EMPTY(Access.UNKNOWN), GRANT(Access.GRANT), DENY(Access.DENY);
private Access access;
private DefaultAccessNode(Access access) {
this.access = access;
}
public void interpret(KeroAccessAgent manager, DefaultAccessOwner target) {
target.setDefaultAccess(this.access);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy