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

com.kero.security.lang.tokens.RoleToken Maven / Gradle / Ivy

Go to download

Kero-Security is a library for statically controlling access to properties of objects / classes.

There is a newer version: 0.1.39
Show newest version
package com.kero.security.lang.tokens;

public class RoleToken extends KsdlTokenBase {

	private boolean accessible;
	private String roleName;
	
	public RoleToken(boolean accessible, String roleName) {
		
		this.accessible = accessible;
		this.roleName = roleName;
	}
	
	@Override
	public String toString() {
		
		return "RoleToken [accessible=" + accessible + ", roleName=" + roleName + "]";
	}

	public String getRoleName() {
		
		return this.roleName;
	}
	
	public boolean getAccessible() {
		
		return this.accessible;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy