Searched refs:caller (Results 1 - 25 of 118) sorted by relevance

12345

/glassfish-3.1.2/ejb/ejb-container/src/main/java/org/glassfish/ejb/security/application/
H A DEJBSecurityManager.java701 String caller = null;
739 caller = sc.getCallerPrincipal().getName();
740 auditManager.ejbInvocation(caller, ejbName, inv.method.toString(), ret);
748 _logger.fine("JACC: Access Control Decision Result: " + ret + " EJBMethodPermission (Name) = " + ejbmp.getName() + " (Action) = " + ejbmp.getActions() + " (Caller) = " + caller);
834 * caller is in the specified role.
837 * @return A boolean true/false depending on whether or not the caller
1118 // invocation and the target ejb uses caller identity or the
/glassfish-3.1.2/verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/tests/ejb/runtime/
H A DASEjbIORSecurityConfig.java62 * caller-propagation [String]
244 String caller = getXPathValue("sun-ejb-jar/enterprise-beans/ejb[ejb-name=\""+descriptor.getName()+"\"]/ior-security-config[\""+i+"\"]/sas-context/caller-propagation");
245 if (caller!=null){
246 testMsgs1(caller,result,"sas-context","caller-propagation", compName);
/glassfish-3.1.2/admin/jmx-remote/server/src/main/java/com/sun/enterprise/admin/jmx/remote/server/
H A DMBeanServerRequestHandler.java156 final MBeanServerConnectionMethodCaller caller =
158 if (caller.canCall(request)) {
159 response = caller.call(request);
/glassfish-3.1.2/admingui/war/src/main/webapp/resources/yui/
H A Dyahoo-dom-event.js10 I.splice(S,1);return true;},getTarget:function(O,N){var M=O.target||O.srcElement;return this.resolveTextNode(M);},resolveTextNode:function(N){try{if(N&&3==N.nodeType){return N.parentNode;}}catch(M){}return N;},getPageX:function(N){var M=N.pageX;if(!M&&0!==M){M=N.clientX||0;if(this.isIE){M+=this._getScrollLeft();}}return M;},getPageY:function(M){var N=M.pageY;if(!N&&0!==N){N=M.clientY||0;if(this.isIE){N+=this._getScrollTop();}}return N;},getXY:function(M){return[this.getPageX(M),this.getPageY(M)];},getRelatedTarget:function(N){var M=N.relatedTarget;if(!M){if(N.type=="mouseout"){M=N.toElement;}else{if(N.type=="mouseover"){M=N.fromElement;}}}return this.resolveTextNode(M);},getTime:function(O){if(!O.time){var N=new Date().getTime();try{O.time=N;}catch(M){this.lastError=M;return N;}}return O.time;},stopEvent:function(M){this.stopPropagation(M);this.preventDefault(M);},stopPropagation:function(M){if(M.stopPropagation){M.stopPropagation();}else{M.cancelBubble=true;}},preventDefault:function(M){if(M.preventDefault){M.preventDefault();}else{M.returnValue=false;}},getEvent:function(O,M){var N=O||window.event;if(!N){var P=this.getEvent.caller;while(P){N=P.arguments[0];if(N&&Event==N.constructor){break;}P=P.caller;}}return N;},getCharCode:function(N){var M=N.keyCode||N.charCode||0;if(YAHOO.env.ua.webkit&&(M in D)){M=D[M];}return M;},_getCacheIndex:function(Q,R,P){for(var O=0,N=I.length;O<N;O=O+1){var M=I[O];if(M&&M[this.FN]==P&&M[this.EL]==Q&&M[this.TYPE]==R){return O;}}return -1;},generateId:function(M){var N=M.id;if(!N){N="yuievtautoid-"+A;++A;M.id=N;}return N;},_isValidCollection:function(N){try{return(N&&typeof N!=="string"&&N.length&&!N.tagName&&!N.alert&&typeof N[0]!=="undefined");}catch(M){return false;}},elCache:{},getEl:function(M){return(typeof M==="string")?document.getElementById(M):M;},clearCache:function(){},DOMReadyEvent:new YAHOO.util.CustomEvent("DOMReady",this),_load:function(N){if(!H){H=true;var M=YAHOO.util.Event;M._ready();M._tryPreloadAttach();}},_ready:function(N){var M=YAHOO.util.Event;if(!M.DOMReady){M.DOMReady=true;M.DOMReadyEvent.fire();M._simpleRemove(document,"DOMContentLoaded",M._ready);}},_tryPreloadAttach:function(){if(F.length===0){C=0;if(this._interval){clearInterval(this._interval);this._interval=null;}return;}if(this.locked){return;}if(this.isIE){if(!this.DOMReady){this.startInterval();return;}}this.locked=true;var S=!H;if(!S){S=(C>0&&F.length>0);}var R=[];var T=function(V,W){var U=V;if(W.overrideContext){if(W.overrideContext===true){U=W.obj;}else{U=W.overrideContext;}}W.fn.call(U,W.obj);};var N,M,Q,P,O=[];for(N=0,M=F.length;N<M;N=N+1){Q=F[N];if(Q){P=this.getEl(Q.id);if(P){if(Q.checkReady){if(H||P.nextSibling||!S){O.push(Q);F[N]=null;}}else{T(P,Q);F[N]=null;}}else{R.push(Q);}}}for(N=0,M=O.length;N<M;N=N+1){Q=O[N];T(this.getEl(Q.id),Q);}C--;if(S){for(N=F.length-1;N>-1;N--){Q=F[N];if(!Q||!Q.id){F.splice(N,1);}}this.startInterval();}else{if(this._interval){clearInterval(this._interval);this._interval=null;}}this.locked=false;},purgeElement:function(Q,R,T){var O=(YAHOO.lang.isString(Q))?this.getEl(Q):Q;var S=this.getListeners(O,T),P,M;if(S){for(P=S.length-1;P>-1;P--){var N=S[P];this.removeListener(O,N.type,N.fn);}}if(R&&O&&O.childNodes){for(P=0,M=O.childNodes.length;P<M;++P){this.purgeElement(O.childNodes[P],R,T);}}},getListeners:function(O,M){var R=[],N;if(!M){N=[I,J];}else{if(M==="unload"){N=[J];}else{N=[I];}}var T=(YAHOO.lang.isString(O))?this.getEl(O):O;for(var Q=0;Q<N.length;Q=Q+1){var V=N[Q];if(V){for(var S=0,U=V.length;S<U;++S){var P=V[S];if(P&&P[this.EL]===T&&(!M||M===P[this.TYPE])){R.push({type:P[this.TYPE],fn:P[this.FN],obj:P[this.OBJ],adjust:P[this.OVERRIDE],scope:P[this.ADJ_SCOPE],index:S});}}}}return(R.length)?R:null;},_unload:function(T){var N=YAHOO.util.Event,Q,P,O,S,R,U=J.slice(),M;for(Q=0,S=J.length;Q<S;++Q){O=U[Q];if(O){M=window;if(O[N.ADJ_SCOPE]){if(O[N.ADJ_SCOPE]===true){M=O[N.UNLOAD_OBJ];}else{M=O[N.ADJ_SCOPE];}}O[N.FN].call(M,N.getEvent(T,O[N.EL]),O[N.UNLOAD_OBJ]);U[Q]=null;}}O=null;M=null;J=null;if(I){for(P=I.length-1;P>-1;P--){O=I[P];if(O){N.removeListener(O[N.EL],O[N.TYPE],O[N.FN],P);}}O=null;}G=null;N._simpleRemove(window,"unload",N._unload);},_getScrollLeft:function(){return this._getScroll()[1];},_getScrollTop:function(){return this._getScroll()[0];},_getScroll:function(){var M=document.documentElement,N=document.body;if(M&&(M.scrollTop||M.scrollLeft)){return[M.scrollTop,M.scrollLeft];}else{if(N){return[N.scrollTop,N.scrollLeft];}else{return[0,0];}}},regCE:function(){},_simpleAdd:function(){if(window.addEventListener){return function(O,P,N,M){O.addEventListener(P,N,(M));};}else{if(window.attachEvent){return function(O,P,N,M){O.attachEvent("on"+P,N);};}else{return function(){};}}}(),_simpleRemove:function(){if(window.removeEventListener){return function(O,P,N,M){O.removeEventListener(P,N,(M));};}else{if(window.detachEvent){return function(N,O,M){N.detachEvent("on"+O,M);};}else{return function(){};}}}()};}();(function(){var EU=YAHOO.util.Event;EU.on=EU.addListener;EU.onFocus=EU.addFocusListener;EU.onBlur=EU.addBlurListener;
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/opto/
H A DJVMState.java91 public JVMState caller() { method in class:JVMState
104 if (caller() != null) caller().dumpSpec(out);
/openjdk7/jdk/src/share/classes/javax/sql/
H A DRowSetReader.java52 * <P>The <code>readData</code> method adds rows to the caller.
54 * populate the caller with rows from a nonrelational data source.
65 * @param caller the <code>RowSet</code> object (1) that has implemented the
71 void readData(RowSetInternal caller) throws SQLException; argument
H A DRowSetWriter.java55 * @param caller the <code>RowSet</code> object (1) that has implemented the
62 boolean writeData(RowSetInternal caller) throws SQLException; argument
/openjdk7/jdk/src/share/classes/javax/sql/rowset/serial/
H A DSerialJavaObject.java135 * Check if the caller is allowed to access the specified class's package.
138 Class<?> caller = sun.reflect.Reflection.getCallerClass();
139 if (ReflectUtil.needsPackageAccessCheck(caller.getClassLoader(),
/openjdk7/jdk/src/share/classes/javax/sql/rowset/spi/
H A DXmlReader.java62 * @param caller the <code>WebRowSet</code> object to be parsed, whose
66 * <code>caller</code> will be read
71 public void readXML(WebRowSet caller, java.io.Reader reader) argument
H A DXmlWriter.java56 * The <code>caller</code> parameter must be a <code>WebRowSet</code>
60 * @param caller the <code>WebRowSet</code> instance to be written,
63 * as the output stream for writing <code>caller</code> as
69 public void writeXML(WebRowSet caller, java.io.Writer writer) argument
/openjdk7/jdk/src/share/classes/java/lang/invoke/
H A DCallSite.java78 private static CallSite bootstrapDynamic(MethodHandles.Lookup caller, String name, MethodType type) {
79 // ignore caller and name, but match the type:
264 Object caller = IMPL_LOOKUP.in(callerClass);
270 binding = bootstrapMethod.invoke(caller, name, type);
272 binding = bootstrapMethod.invoke(caller, name, type, info);
280 binding = bootstrapMethod.invoke(caller, name, type, argv);
283 .invoke(bootstrapMethod, caller, name, type, argv);
/openjdk7/jdk/src/share/classes/java/lang/reflect/
H A DAccessibleObject.java217 // the caller has already been seen, verified, and cached.
221 // The cache can be either null (empty cache), a 2-array of {caller,target},
222 // or a caller (with target implicitly equal to this.clazz).
226 void checkAccess(Class<?> caller, Class<?> clazz, Object obj, int modifiers) argument
229 if (caller == clazz) { // quick check
237 // Must match a 2-list of { caller, targetClass }.
241 cache2[0] == caller) {
247 } else if (cache == caller) {
253 slowCheckMemberAccess(caller, clazz, obj, modifiers, targetClass);
257 void slowCheckMemberAccess(Class<?> caller, Clas argument
[all...]
/openjdk7/jdk/src/share/classes/java/security/acl/
H A DAcl.java96 * @param caller the principal invoking this method. It must be an
101 * @exception NotOwnerException if the caller principal
106 public void setName(Principal caller, String name) argument
127 * @param caller the principal invoking this method. It must be an
136 * @exception NotOwnerException if the caller principal
139 public boolean addEntry(Principal caller, AclEntry entry) argument
145 * @param caller the principal invoking this method. It must be an
152 * @exception NotOwnerException if the caller principal is not
155 public boolean removeEntry(Principal caller, AclEntry entry) argument
H A DOwner.java43 * Adds an owner. Only owners can modify ACL contents. The caller
48 * @param caller the principal invoking this method. It must be an owner
54 * @exception NotOwnerException if the caller principal is not an owner
57 public boolean addOwner(Principal caller, Principal owner) argument
64 * The caller principal must be an owner of the ACL in order to invoke
67 * @param caller the principal invoking this method. It must be an owner
75 * @exception NotOwnerException if the caller principal is not an owner
81 public boolean deleteOwner(Principal caller, Principal owner) argument
/openjdk7/jdk/src/share/classes/java/util/concurrent/atomic/
H A DAtomicLongFieldUpdater.java76 Class<?> caller = Reflection.getCallerClass();
78 return new CASUpdater<U>(tclass, fieldName, caller);
80 return new LockedUpdater<U>(tclass, fieldName, caller);
274 CASUpdater(Class<T> tclass, String fieldName, Class<?> caller) { argument
281 caller, tclass, null, modifiers);
295 caller != tclass) ? caller : null;
355 LockedUpdater(Class<T> tclass, String fieldName, Class<?> caller) { argument
362 caller, tclass, null, modifiers);
376 caller !
[all...]
/openjdk7/jdk/src/share/classes/com/sun/jmx/snmp/IPAcl/
H A DAclImpl.java76 * @param caller the principal invoking this method. It must be an owner
80 * @exception NotOwnerException if the caller principal is not an owner
84 public void setName(Principal caller, String name) argument
86 if (!isOwner(caller))
107 * @param caller the principal invoking this method. It must be an owner
112 * @exception NotOwnerException if the caller principal is not an owner of
116 public boolean addEntry(Principal caller, AclEntry entry) argument
118 if (!isOwner(caller))
138 * @param caller the principal invoking this method. It must be an owner
142 * @exception NotOwnerException if the caller principa
147 removeEntry(Principal caller, AclEntry entry) argument
164 removeAll(Principal caller) argument
[all...]
H A DOwnerImpl.java71 * Adds an owner. Only owners can modify ACL contents. The caller principal
76 * @param caller the principal invoking this method.
80 * @exception NotOwnerException if the caller principal is not an owner
83 public boolean addOwner(Principal caller, Principal owner) argument
85 if (!ownerList.contains(caller))
99 * The caller principal must be an owner of the ACL in order to invoke this method.
101 * @param caller the principal invoking this method. It must be an owner
105 * @exception NotOwnerException if the caller principal is not an owner
110 public boolean deleteOwner(Principal caller, Principal owner) argument
113 if (!ownerList.contains(caller))
[all...]
/openjdk7/jdk/src/share/classes/com/sun/rowset/internal/
H A DCachedRowSetReader.java46 * and it assumes that the <code>command</code> property for the caller
122 * @param caller a <code>RowSet</code> object that has implemented
130 public void readData(RowSetInternal caller) throws SQLException argument
134 CachedRowSet crs = (CachedRowSet)caller;
153 // properties have been set on the caller to let it supply a
157 con = this.connect(caller);
172 decodeParams(caller.getParams(), pstmt);
206 decodeParams(caller.getParams(), pstmt);
296 * @param caller a <code>RowSet</code> object that has implemented
301 * to the caller'
304 connect(RowSetInternal caller) argument
[all...]
H A DWebRowSetXmlReader.java73 * @param caller the <code>WebRowSet</code> object to be parsed, whose
83 public void readXML(WebRowSet caller, java.io.Reader reader) throws SQLException { argument
94 XmlReaderContentHandler hndr = new XmlReaderContentHandler((RowSet)caller);
152 * @param caller the <code>WebRowSet</code> object to be parsed, whose
162 public void readXML(WebRowSet caller, java.io.InputStream iStream) throws SQLException { argument
167 XmlReaderContentHandler hndr = new XmlReaderContentHandler((RowSet)caller);
216 public void readData(RowSetInternal caller) { argument
H A DWebRowSetXmlWriter.java83 * @param caller the <code>WebRowSet</code> object to be written; must
87 * <code>caller</code> will be written
93 public void writeXML(WebRowSet caller, java.io.Writer wrt) argument
99 writeRowSet(caller);
116 * @param caller the <code>WebRowSet</code> object to be written; must
120 * <code>caller</code> will be written
126 public void writeXML(WebRowSet caller, java.io.OutputStream oStream) argument
132 writeRowSet(caller);
140 private void writeRowSet(WebRowSet caller) throws SQLException { argument
146 writeProperties(caller);
174 writeProperties(WebRowSet caller) argument
270 writeMetaData(WebRowSet caller) argument
316 writeData(WebRowSet caller) argument
364 writeValue(int idx, RowSet caller) argument
626 writeData(RowSetInternal caller) argument
[all...]
/openjdk7/jdk/test/java/lang/invoke/
H A DInvokeDynamicPrintArgs.java145 private static CallSite bsm(Lookup caller, String name, MethodType type) throws ReflectiveOperationException { argument
146 // ignore caller and name, but match the type:
147 Object bsmInfo = Arrays.asList(caller, name, type);
170 final Lookup caller; field in class:InvokeDynamicPrintArgs.PrintingCallSite
174 PrintingCallSite(Lookup caller, String name, MethodType type, Object... staticArgs) throws Throwable { argument
176 this.caller = caller;
190 List<Object> bsmInfo = new ArrayList<>(Arrays.asList(caller, name, type()));
201 private static CallSite bsm2(Lookup caller, String name, MethodType type, Object... arg) throws Throwable { argument
202 // ignore caller an
[all...]
/openjdk7/jdk/src/share/native/java/sql/
H A DDriverManager.c35 jclass caller = JVM_GetCallerClass(env, 2); local
36 return caller != 0 ? JVM_GetClassLoader(env, caller) : 0;
/openjdk7/jdk/src/share/classes/sun/security/jgss/
H A DLoginConfigImpl.java42 private final GSSCaller caller; field in class:LoginConfigImpl
49 * since it's only used by a single (caller, mech) pair
50 * @param caller defined in GSSUtil as CALLER_XXX final fields
53 public LoginConfigImpl(GSSCaller caller, Oid mech) { argument
55 this.caller = caller;
71 * @param name Almost useless, since the (caller, mech) is already passed
91 if (caller == GSSCaller.CALLER_INITIATE) {
96 } else if (caller == GSSCaller.CALLER_ACCEPT) {
101 } else if (caller
193 isServerSide(GSSCaller caller) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/security/jgss/krb5/
H A DKrb5MechFactory.java63 final private GSSCaller caller; field in class:Krb5MechFactory
77 // Force permission check before returning the cred to caller
89 public Krb5MechFactory(GSSCaller caller) { argument
90 this.caller = caller;
122 (caller, (Krb5NameElement) name, initLifetime);
127 Krb5AcceptCredential.getInstance(caller,
190 return new Krb5Context(caller, (Krb5NameElement)peer,
201 return new Krb5Context(caller, (Krb5CredElement)myAcceptorCred);
206 return new Krb5Context(caller, exportedContex
[all...]
H A DKrb5Util.java67 * Retrieve the service ticket for serverPrincipal from caller's Subject
78 public static KerberosTicket getTicketFromSubjectAndTgs(GSSCaller caller, argument
93 if (!GSSUtil.useSubjectCredsOnly(caller)) {
96 loginSubj = GSSUtil.login(caller, GSSUtil.GSS_KRB5_MECH_OID);
149 static KerberosTicket getTicket(GSSCaller caller, argument
160 if (ticket == null && !GSSUtil.useSubjectCredsOnly(caller)) {
161 Subject subject = GSSUtil.login(caller, GSSUtil.GSS_KRB5_MECH_OID);
169 * Retrieves the caller's Subject, or Subject obtained by logging in
170 * via the specified caller.
179 public static Subject getSubject(GSSCaller caller, argument
324 getServiceCreds(GSSCaller caller, String serverPrincipal, AccessControlContext acc) argument
[all...]

Completed in 333 milliseconds

12345