Search in sources :

Example 1 with RoleAssigneeDisplayInfo

use of edu.harvard.iq.dataverse.authorization.RoleAssigneeDisplayInfo in project dataverse by IQSS.

the class ShibGroup method getDisplayInfo.

@Override
public RoleAssigneeDisplayInfo getDisplayInfo() {
    // String debugTitle = "Shibboleth group " + getId() + " (" + getAlias() + ") \"" + getAttribute() + "\" exact string match of \"" + getPattern() + "\"";
    String title = getName();
    /**
     * @todo should email be null for Shibboleth groups?
     */
    // String email = "FIXME RoleAssigneeDisplayInfo email for shibgroup id " + getId();
    String email = null;
    RoleAssigneeDisplayInfo roleAssigneeDisplayInfo = new RoleAssigneeDisplayInfo(title, email);
    return roleAssigneeDisplayInfo;
}
Also used : RoleAssigneeDisplayInfo(edu.harvard.iq.dataverse.authorization.RoleAssigneeDisplayInfo)

Aggregations

RoleAssigneeDisplayInfo (edu.harvard.iq.dataverse.authorization.RoleAssigneeDisplayInfo)1