⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 reportstshistoryaction.java

📁 开源的OpenId的一个java实现
💻 JAVA
字号:
package org.wso2.solutions.identity.admin.ui.action;import java.util.List;import org.wso2.solutions.identity.admin.ReportAdmin;import org.wso2.solutions.identity.admin.ui.UIConstants;import com.opensymphony.xwork2.ActionSupport;/** * * There are four types of Actions lists *  1) Successful Token Requests - keysize, keyType, tokenExpires, tokenCreated *  2) Failed Token Requests - failed reason *  3) Successful Infocard Requests - expires *  4) Failed Infocard Requests *  */public class ReportSTSHistoryAction extends ActionSupport {        private List stsActions = null;        private String fromDate = null;        private String toDate = null;        private String type = null;        private String title = null;           public String execute() throws Exception {                ReportAdmin admin = new ReportAdmin();                       if(UIConstants.REPORT_FAIL_CI.equals(type)){            stsActions = admin.getFailedCardIssueActions(null, null);            title = "Failed Card Issuences";        }else if(UIConstants.REPORT_FAIL_TI.equals(type)){            stsActions = admin.getFailedTokenIssueActions(null, null);            title = "Failed Token Issuences";        }else{            return ERROR;        }        return SUCCESS;    }    public List getStsActions() {        return stsActions;    }    public void setStsActions(List stsActions) {        this.stsActions = stsActions;    }    public String getFromDate() {        return fromDate;    }    public void setFromDate(String fromDate) {        this.fromDate = fromDate;    }    public String getToDate() {        return toDate;    }    public void setToDate(String toDate) {        this.toDate = toDate;    }    public String getType() {        return type;    }    public void setType(String type) {        this.type = type;    }    public String getTitle() {        return title;    }    public void setTitle(String title) {        this.title = title;    }            }

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -