Searched defs:method (Results 1 - 25 of 188) sorted by relevance

12345678

/forgerock/openam-v13/openam-core/src/test/java/org/forgerock/openam/idm/
H A DDecoratorTestUtils.java34 * Generates some dummy arguments for the given method. Fills in appropriate default values for each argument that
35 * the method expects: {@code null} for any object references, {@code false} for primitive booleans, {@code 0} for
38 * @param method the method to generate arguments for.
39 * @return an appropriate set of arguments to allow the method to be called.
41 public static Object[] generateArguments(Method method) { argument
42 Object[] args = new Object[method.getParameterTypes().length];
44 for (Class<?> type : method.getParameterTypes()) {
66 * @return an iterator of object arrays, each of which contains a single element which is a method from the
71 for (Method method
[all...]
/forgerock/openam/openam-core/src/test/java/org/forgerock/openam/idm/
H A DDecoratorTestUtils.java34 * Generates some dummy arguments for the given method. Fills in appropriate default values for each argument that
35 * the method expects: {@code null} for any object references, {@code false} for primitive booleans, {@code 0} for
38 * @param method the method to generate arguments for.
39 * @return an appropriate set of arguments to allow the method to be called.
41 public static Object[] generateArguments(Method method) { argument
42 Object[] args = new Object[method.getParameterTypes().length];
44 for (Class<?> type : method.getParameterTypes()) {
66 * @return an iterator of object arrays, each of which contains a single element which is a method from the
71 for (Method method
[all...]
/forgerock/opendj2/src/server/org/opends/server/authorization/dseecompat/
H A DAuthMethod.java40 * Enumeration representing the authentication method.
45 * The SASL mechanism if the authentication method is SASL.
56 * provided method and bind rule type.
59 * @param method An Enumeration of the authentication method.
61 private AuthMethod(EnumAuthMethod method, String saslMech, argument
63 this.authMethod=method;
/forgerock/opendj-b2.6/src/server/org/opends/server/authorization/dseecompat/
H A DAuthMethod.java43 * Enumeration representing the authentication method.
48 * The SASL mechanism if the authentication method is SASL.
59 * provided method and bind rule type.
62 * @param method An Enumeration of the authentication method.
64 private AuthMethod(EnumAuthMethod method, String saslMech, argument
66 this.authMethod=method;
/forgerock/opendj2.6.2/src/server/org/opends/server/authorization/dseecompat/
H A DAuthMethod.java43 * Enumeration representing the authentication method.
48 * The SASL mechanism if the authentication method is SASL.
59 * provided method and bind rule type.
62 * @param method An Enumeration of the authentication method.
64 private AuthMethod(EnumAuthMethod method, String saslMech, argument
66 this.authMethod=method;
/forgerock/opendj2-hg/src/server/org/opends/server/authorization/dseecompat/
H A DAuthMethod.java40 * Enumeration representing the authentication method.
45 * The SASL mechanism if the authentication method is SASL.
56 * provided method and bind rule type.
59 * @param method An Enumeration of the authentication method.
61 private AuthMethod(EnumAuthMethod method, String saslMech, argument
63 this.authMethod=method;
/forgerock/opendj2-jel-hg/src/server/org/opends/server/authorization/dseecompat/
H A DAuthMethod.java43 * Enumeration representing the authentication method.
48 * The SASL mechanism if the authentication method is SASL.
59 * provided method and bind rule type.
62 * @param method An Enumeration of the authentication method.
64 private AuthMethod(EnumAuthMethod method, String saslMech, argument
66 this.authMethod=method;
/forgerock/openam-v13/openam-examples/openam-example-clientsdk-war/src/main/java/com/sun/identity/samples/clientsdk/
H A DServiceConfigServlet.java69 String method = request.getParameter("method");
70 if (method == null) {
71 method = "globalSchema";
95 printInfo(lc, servicename, method, out);
107 String method,
116 if (method.equalsIgnoreCase("globalSchema")) {
120 } else if (method.equalsIgnoreCase("globalConfig")) {
104 printInfo( AuthContext lc, String servicename, String method, PrintWriter out ) argument
/forgerock/openam/openam-examples/openam-example-clientsdk-war/src/main/java/com/sun/identity/samples/clientsdk/
H A DServiceConfigServlet.java69 String method = request.getParameter("method");
70 if (method == null) {
71 method = "globalSchema";
95 printInfo(lc, servicename, method, out);
107 String method,
116 if (method.equalsIgnoreCase("globalSchema")) {
120 } else if (method.equalsIgnoreCase("globalConfig")) {
104 printInfo( AuthContext lc, String servicename, String method, PrintWriter out ) argument
/forgerock/opendj-v3/opendj-server-legacy/src/main/java/org/opends/server/authorization/dseecompat/
H A DAuthMethod.java42 * Enumeration representing the authentication method.
47 * The SASL mechanism if the authentication method is SASL.
58 * provided method and bind rule type.
61 * @param method An Enumeration of the authentication method.
63 private AuthMethod(EnumAuthMethod method, String saslMech, argument
65 this.authMethod=method;
/forgerock/opendj-v3/opendj-server-legacy/src/main/java/org/opends/server/backends/jeb/
H A DJEMonitor.java95 for (Method method : stats.getClass().getMethods())
97 final Class<?> returnType = method.getReturnType();
98 if (method.getName().startsWith("get")
101 addStatAttribute(monitorAttrs, attrPrefix, stats, method);
106 private void addStatAttribute(List<Attribute> monitorAttrs, String attrPrefix, Object stats, Method method) argument
111 // Remove the 'get' from the method name and add the prefix.
112 String attrName = attrPrefix + method.getName().substring(3);
115 monitorAttrs.add(Attributes.create(attrType, String.valueOf(method.invoke(stats))));
/forgerock/opendj-v3/opendj-server-legacy/src/main/java/org/opends/server/backends/pdb/
H A DPDBMonitor.java103 for (Method method : stats.getClass().getMethods())
105 if (method.getName().startsWith("get"))
107 Class<?> returnType = method.getReturnType();
110 addStatAttribute(monitorAttrs, attrPrefix, stats, method, 3);
113 else if (method.getName().startsWith("is") && method.getReturnType().equals(boolean.class))
115 addStatAttribute(monitorAttrs, attrPrefix, stats, method, 2);
121 Method method, int skipNameLen) throws WrappedRemoteException
125 String attrName = attrPrefix + method.getName().substring(skipNameLen);
126 monitorAttrs.add(Attributes.create(attrName, String.valueOf(method
120 addStatAttribute(List<Attribute> monitorAttrs, String attrPrefix, Object stats, Method method, int skipNameLen) argument
[all...]
/forgerock/openidm-v4/openidm-shell/src/main/java/org/forgerock/openidm/shell/
H A DCustomCommandScope.java68 * Gets usage information for method by name. Fetches the method with the longest list of arguments.
70 * @param name Name of the method to search for
72 * @throws NoSuchMethodException if no such method can be found
80 * Gets usage information for a specified method.
82 * @param method Method object to pull information from.
85 public String getUsage(Method method) { argument
86 StringBuilder usage = new StringBuilder("Usage: ").append(method.getName());
87 List<String> args = getArguments(method);
88 List<String> opts = getParameters(method);
151 getHeader(Method method) argument
162 getArguments(Method method) argument
194 getParameters(Method method) argument
[all...]
/forgerock/openam-v13/openam-core/src/main/java/com/iplanet/services/comm/https/
H A DApprovalCallback.java79 private static Method method = null; field in class:ApprovalCallback
113 if (method == null) {
122 method = GeneralNames.class.getMethod(methodName, argTypes);
124 return method;
/forgerock/openam-v13/openam-federation/openam-federation-library/src/main/java/org/forgerock/openam/saml2/audit/
H A DSAML2EventLogger.java68 * @param method Identifies the operation invoked.
70 void setMethod(String method); argument
/forgerock/openam-v13/openam-http-client/src/main/java/org/forgerock/http/client/
H A DRestletHttpClient.java45 protected HttpClientResponse getHttpClientResponse(String uri, String body, Map<String, List<Map<String,String>>> requestData, String method) throws UnsupportedEncodingException { argument
48 httpClientRequest.setMethod(method);
/forgerock/openam-v13/openam-http-client/src/main/java/org/forgerock/http/client/request/
H A DHttpClientRequest.java56 * Set the method the request will use.
58 * @param method The method to use. See http://www.w3.org/Protocols/rfc2616/rfc2616-sec5.html#sec5.1.1
60 public void setMethod(String method); argument
98 * Retrieve the method set on the request.
100 * @return The method set on the request.
H A DSimpleHttpClientRequest.java33 private String method; field in class:SimpleHttpClientRequest
61 public void setMethod(String method) { argument
62 this.method = method;
97 return method;
/forgerock/openam-v13/openam-scripting/src/main/java/org/forgerock/openam/scripting/sandbox/
H A DGroovySandboxValueFilter.java45 * @param target the object or class that is the target of a scripted operation (method call, constructor,
46 * static method call, property/field access).
96 public Object onMethodCall(Invoker invoker, Object receiver, String method, Object... args) throws Throwable { argument
97 if (isClosureCall(receiver, method) || isScriptOwnMethodCall(receiver, method)) {
101 return doCall(invoker, receiver, method, args);
103 return super.onMethodCall(invoker, receiver, method, args);
107 * Determines if this method call is a call to a closure (anonymous method) defined within the script itself.
109 * @param receiver the object that is the target of the method cal
113 isClosureCall(Object receiver, String method) argument
124 isScriptOwnMethodCall(Object receiver, String method) argument
149 doCall(Invoker invoker, Object receiver, String method, Object... args) argument
[all...]
/forgerock/openidm-v4/openidm-workflow-activiti/src/main/java/org/forgerock/openidm/workflow/activiti/impl/
H A DOpenIDMELResolver.java126 public Object invoke(ELContext context, Object base, Object method, Class<?>[] paramTypes, Object[] params) { argument
127 if (base instanceof LazyMap && ((LazyMap)base).containsKey(method)) {
129 FunctionClosure function = (FunctionClosure)((LazyMap)base).get(method);
/forgerock/openam/openam-scripting/src/main/java/org/forgerock/openam/scripting/sandbox/
H A DGroovySandboxValueFilter.java45 * @param target the object or class that is the target of a scripted operation (method call, constructor,
46 * static method call, property/field access).
96 public Object onMethodCall(Invoker invoker, Object receiver, String method, Object... args) throws Throwable { argument
97 if (isClosureCall(receiver, method) || isScriptOwnMethodCall(receiver, method)) {
101 return doCall(invoker, receiver, method, args);
103 return super.onMethodCall(invoker, receiver, method, args);
107 * Determines if this method call is a call to a closure (anonymous method) defined within the script itself.
109 * @param receiver the object that is the target of the method cal
113 isClosureCall(Object receiver, String method) argument
124 isScriptOwnMethodCall(Object receiver, String method) argument
149 doCall(Invoker invoker, Object receiver, String method, Object... args) argument
[all...]
/forgerock/openam/openam-federation/openam-federation-library/src/main/java/org/forgerock/openam/saml2/audit/
H A DSAML2EventLogger.java68 * @param method Identifies the operation invoked.
70 void setMethod(String method); argument
/forgerock/openam/openam-http-client/src/main/java/org/forgerock/http/client/
H A DRestletHttpClient.java49 String uri, String body, Map<String, List<Map<String, String>>> requestData, String method)
53 httpClientRequest.setMethod(method);
48 getHttpClientResponse( String uri, String body, Map<String, List<Map<String, String>>> requestData, String method) argument
/forgerock/openam/openam-http-client/src/main/java/org/forgerock/http/client/request/
H A DHttpClientRequest.java56 * Set the method the request will use.
58 * @param method The method to use. See http://www.w3.org/Protocols/rfc2616/rfc2616-sec5.html#sec5.1.1
60 public void setMethod(String method); argument
98 * Retrieve the method set on the request.
100 * @return The method set on the request.
H A DSimpleHttpClientRequest.java33 private String method; field in class:SimpleHttpClientRequest
61 public void setMethod(String method) { argument
62 this.method = method;
97 return method;

Completed in 2627 milliseconds

12345678