How to Create a Role Mapping Provider for JBoss EAP

import java.util.Map;

import org.jboss.security.identity.RoleGroup;
import org.jboss.security.identity.plugins.SimpleRole;
import org.jboss.security.mapping.providers.role.AbstractRolesMappingProvider;

public final class SampleRolesMappingProvider extends AbstractRolesMappingProvider {

  @Override
  public void init(final Map<String, Object> options) {
  }

  @Override
  public void performMapping(final Map<String, Object> map, final RoleGroup mappedObject) {
  }

}

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s