📄 mocksecurityprofile.java
字号:
package net.java.workeffort.service;import net.java.workeffort.infrastructure.security.ISecurityProfile;/** * <p> * Mock for SecurityProfile for testing. * </p> * @author Antony Joseph */public class MockSecurityProfile implements ISecurityProfile { String partyCd = "mocktest"; /** * @return Returns the partyCd. */ public String getPartyCd() { return partyCd; } /** * @param partyCd The partyCd to set. */ public void setPartyCd(String partyCd) { this.partyCd = partyCd; } /** * @return Returns the password. */ public String getPassword() { return ""; } /** * @param password The password to set. */ public void setPassword(String password) { } public int getAccessDecision(String target, String operation) { return ISecurityProfile.ALLOWED; }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -