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

com.frameworkset.platform.security.AuthorResource Maven / Gradle / Ivy

There is a newer version: 5.6.4
Show newest version
package com.frameworkset.platform.security;

import java.util.ArrayList;
import java.util.List;

import com.frameworkset.platform.security.authorization.impl.PermissionTokenMap;
import com.frameworkset.platform.security.authorization.impl.ResourceToken;

public class AuthorResource {
	protected List authorResources;
	
	public void addAuthorResource(String authorResource)
	{
		if(authorResources == null)
			authorResources = new ArrayList();
		if(authorResource == null || authorResource.equals(""))
			return ;
		this.authorResources.add(PermissionTokenMap.buildResourceToken(authorResource));
	}
	
	
	public List getAuthorResources() {
		return authorResources;
	}
	
	
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy