📄 secauthsample.java
字号:
/* * Copyright 2004-2005 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. *//*** EJB Remote interface - * @author Jagadesh*/package samples.security.ldaprealm.dynamicgroup.ejb;import javax.ejb.EJBObject;import java.rmi.RemoteException;public interface SecAuthSample extends EJBObject{ public boolean testIsCallerExpected(String caller) throws RemoteException; public boolean testIsCallerInRole(String role) throws RemoteException; public boolean methodIsAuthorized() throws RemoteException; public boolean methodIsNotAuthorized() throws RemoteException; public boolean methodIsExcluded() throws RemoteException;}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -