All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.beangle.security.realm.cas.DefaultModule.scala Maven / Gradle / Ivy

There is a newer version: 4.0.7
Show newest version
package org.beangle.security.realm.cas

import org.beangle.commons.inject.bind.AbstractBindModule
import org.beangle.security.realm.cas.vendor.NeusoftCasTicketValidator

class DefaultModule extends AbstractBindModule {

  protected override def binding() {
    bind(classOf[CasConfig]).constructor($("security.cas.server"))
    bind("security.EntryPoint.cas", classOf[CasEntryPoint])
    bind("security.Realm.cas", classOf[DefaultCasRealm])
    bind("security.Filter.cas", classOf[CasPreauthFilter])
    bind("security.TicketValidator.cas20", classOf[Cas20ServiceTicketValidator])
    bind("security.TicketValidator.neusoft", classOf[NeusoftCasTicketValidator])
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy