FineReport V9.0 认证接口扩展示例。
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.
 
 

25 lines
726 B

package com.fr.solution.plugin.auth.cas.bridge;
import com.fr.fs.DefaultPlate;
import com.fr.fs.auth.AuthenticateObjectTypeBuilder;
import com.fr.solution.plugin.auth.cas.core.CasAuthenticateObjectType;
import com.fr.solution.plugin.auth.cas.core.CasConstants;
/**
* Created by richie on 16/7/19.
*/
public class CasAuthenticatePlate extends DefaultPlate {
@Override
public void initData() {
super.initData();
AuthenticateObjectTypeBuilder.register(CasConstants.MARK_TYPE, CasAuthenticateObjectType.class);
}
@Override
public String[] getPlateJavaScriptFiles4WebClient() {
return new String[]{
"/com/fr/solution/plugin/auth/cas/web/auth.cas.js"
};
}
}