*
* @return String[] - will never returh null
*/
private String[] getShibAttributes() {
if (ShibbolethModule.isEnableShibbolethLogins()) {
AttributeTranslator attTrans = getAttributeTranslator();
Set<String> attributes = attTrans.getTranslateableAttributes();
String[] outNames = new String[attributes.size()];
int i = 0;
for (String attribute : attributes) {
outNames[i] = attTrans.translateAttribute(attribute);
i++;
}
return outNames;
}
return new String[0];