Package org.olat.shibboleth.util

Examples of org.olat.shibboleth.util.AttributeTranslator


   *
   * @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];
View Full Code Here


    }
   
    setGlobalProperties(moduleConfig);
       
    // initialize AttributeTranslator
    attributeTranslator = new AttributeTranslator(moduleConfig.getChild(CONF_ATTRIBUTETRANSLATIONS));
   
    // initialize uidMapper
    uidMapper = new UniqueIdentifierMapper(moduleConfig.getChild(CONF_UNIQUEIDENTIFIERS));
   
    //CredentialsManager(for server certificate check) no more needed
View Full Code Here

TOP

Related Classes of org.olat.shibboleth.util.AttributeTranslator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.