forked from fanruan/demo-ldaps-passport
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
996 B
34 lines
996 B
6 years ago
|
package com.fr.plugin.decision.passport.ldaps;
|
||
|
|
||
|
import com.fr.decision.fun.impl.AbstractWebResourceProvider;
|
||
|
import com.fr.decision.web.MainComponent;
|
||
|
import com.fr.web.struct.Atom;
|
||
|
import com.fr.web.struct.Component;
|
||
|
import com.fr.web.struct.browser.RequestClient;
|
||
|
import com.fr.web.struct.category.ScriptPath;
|
||
|
import com.fr.web.struct.category.StylePath;
|
||
|
|
||
|
/**
|
||
|
* Created by zhouping on 2019/1/16.
|
||
|
*/
|
||
|
public class LdapsWebResourceProvider extends AbstractWebResourceProvider {
|
||
|
@Override
|
||
|
public Atom attach() {
|
||
|
return MainComponent.KEY;
|
||
|
}
|
||
|
|
||
|
@Override
|
||
|
public Atom client() {
|
||
|
return new Component() {
|
||
|
@Override
|
||
|
public ScriptPath script(RequestClient requestClient) {
|
||
|
return ScriptPath.build("/com/fr/plugin/decision/passport/ldaps/js/plugin.js");
|
||
|
}
|
||
|
@Override
|
||
|
public StylePath style(RequestClient requestClient) {
|
||
|
return StylePath.EMPTY;
|
||
|
}
|
||
|
};
|
||
|
}
|
||
|
}
|