com.frameworkset.platform.security.AuthorResource Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pdp-system Show documentation
Show all versions of pdp-system Show documentation
bboss public development platform base on bboss.
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;
}
}