public MembershipType findMembershipType(String name) throws Exception {
if (log.isTraceEnabled()) {
Tools.logMethodIn(log, LogLevel.TRACE, "findMembershipType", new Object[] { "name", name });
}
RoleType rt = getIdentitySession().getRoleManager().getRoleType(name);
MembershipType mt = null;
if (rt != null) {
mt = new MembershipTypeImpl(name, null, null);