/forgerock/openam-v13/openam-sts/openam-common-sts/src/main/java/org/forgerock/openam/sts/ |
H A D | DefaultHttpURLConnectionFactory.java | 31 HttpURLConnection connection = (HttpURLConnection)url.openConnection(); 32 connection.setConnectTimeout(CONNECT_TIMEOUT); 33 connection.setReadTimeout(READ_TIMEOUT); 34 return connection;
|
/forgerock/openam/openam-sts/openam-common-sts/src/main/java/org/forgerock/openam/sts/ |
H A D | DefaultHttpURLConnectionFactory.java | 31 HttpURLConnection connection = (HttpURLConnection)url.openConnection(); 32 connection.setConnectTimeout(CONNECT_TIMEOUT); 33 connection.setReadTimeout(READ_TIMEOUT); 34 return connection;
|
/forgerock/opendj-v3/opendj-server-legacy/src/main/java/org/opends/server/admin/client/ldap/ |
H A D | LDAPManagementContext.java | 40 * An LDAP management connection context. 46 * connection. 48 * @param connection 49 * The LDAP connection. 52 public static ManagementContext createFromContext(LDAPConnection connection) { argument 53 Reject.ifNull(connection); 54 return new LDAPManagementContext(connection, LDAPProfile.getInstance()); 63 private LDAPManagementContext(LDAPConnection connection, argument 65 this.driver = new LDAPDriver(this, connection, profile);
|
/forgerock/opendj-b2.6/src/server/org/opends/server/core/networkgroups/ |
H A D | ConnectionCriteria.java | 40 * determine whether a client connection should be associated with a 47 * A connection criteria which does not match any connections. 56 public boolean matches(ClientConnection connection) 67 ClientConnection connection, DN bindDN, 76 * A connection criteria which matches all connections. 85 public boolean matches(ClientConnection connection) 96 ClientConnection connection, DN bindDN, 107 * Indicates whether or not the provided client connection matches 108 * this connection criteria. 110 * @param connection 115 matches(ClientConnection connection) argument 136 willMatchAfterBind(ClientConnection connection, DN bindDN, AuthenticationType authType, boolean isSecure) argument [all...] |
H A D | ResourceLimitsPolicy.java | 57 * Adds a connection to the network group. 59 * @param connection 60 * The client connection. 62 abstract void addConnection(ClientConnection connection); argument 110 * @param connection 120 * @return a boolean indicating whether the connection is allowed 122 abstract boolean isAllowed(ClientConnection connection, argument 129 * Removes a connection from the network group. 131 * @param connection 132 * The client connection t 134 removeConnection(ClientConnection connection) argument [all...] |
H A D | SecurityConnectionCriteria.java | 38 * A connection criteria which matches connections which are secured 45 * A connection criteria which does not require a secured connection. 51 * A connection criteria which requires a secured connection. 56 // Indicates whether or not the connection must be secured. 62 * Creates a new security connection criteria. 65 * Indicates whether or not the connection must be secured. 77 public boolean matches(ClientConnection connection) argument 79 return willMatchAfterBind(null, null, null, connection 87 willMatchAfterBind(ClientConnection connection, DN bindDN, AuthenticationType authType, boolean isSecure) argument [all...] |
/forgerock/opendj2/src/server/org/opends/server/core/networkgroups/ |
H A D | ConnectionCriteria.java | 39 * determine whether a client connection should be associated with a 46 * A connection criteria which does not match any connections. 55 public boolean matches(ClientConnection connection) 66 ClientConnection connection, DN bindDN, 75 * A connection criteria which matches all connections. 84 public boolean matches(ClientConnection connection) 95 ClientConnection connection, DN bindDN, 106 * Indicates whether or not the provided client connection matches 107 * this connection criteria. 109 * @param connection 114 matches(ClientConnection connection) argument 135 willMatchAfterBind(ClientConnection connection, DN bindDN, AuthenticationType authType, boolean isSecure) argument [all...] |
H A D | ResourceLimitsPolicy.java | 56 * Adds a connection to the network group. 58 * @param connection 59 * The client connection. 61 abstract void addConnection(ClientConnection connection); argument 109 * @param connection 119 * @return a boolean indicating whether the connection is allowed 121 abstract boolean isAllowed(ClientConnection connection, argument 128 * Removes a connection from the network group. 130 * @param connection 131 * The client connection t 133 removeConnection(ClientConnection connection) argument [all...] |
H A D | SecurityConnectionCriteria.java | 37 * A connection criteria which matches connections which are secured 44 * A connection criteria which does not require a secured connection. 50 * A connection criteria which requires a secured connection. 55 // Indicates whether or not the connection must be secured. 61 * Creates a new security connection criteria. 64 * Indicates whether or not the connection must be secured. 76 public boolean matches(ClientConnection connection) argument 78 return willMatchAfterBind(null, null, null, connection 86 willMatchAfterBind(ClientConnection connection, DN bindDN, AuthenticationType authType, boolean isSecure) argument [all...] |
/forgerock/opendj2.6.2/src/server/org/opends/server/core/networkgroups/ |
H A D | ConnectionCriteria.java | 40 * determine whether a client connection should be associated with a 47 * A connection criteria which does not match any connections. 56 public boolean matches(ClientConnection connection) 67 ClientConnection connection, DN bindDN, 76 * A connection criteria which matches all connections. 85 public boolean matches(ClientConnection connection) 96 ClientConnection connection, DN bindDN, 107 * Indicates whether or not the provided client connection matches 108 * this connection criteria. 110 * @param connection 115 matches(ClientConnection connection) argument 136 willMatchAfterBind(ClientConnection connection, DN bindDN, AuthenticationType authType, boolean isSecure) argument [all...] |
H A D | ResourceLimitsPolicy.java | 57 * Adds a connection to the network group. 59 * @param connection 60 * The client connection. 62 abstract void addConnection(ClientConnection connection); argument 110 * @param connection 120 * @return a boolean indicating whether the connection is allowed 122 abstract boolean isAllowed(ClientConnection connection, argument 129 * Removes a connection from the network group. 131 * @param connection 132 * The client connection t 134 removeConnection(ClientConnection connection) argument [all...] |
H A D | SecurityConnectionCriteria.java | 38 * A connection criteria which matches connections which are secured 45 * A connection criteria which does not require a secured connection. 51 * A connection criteria which requires a secured connection. 56 // Indicates whether or not the connection must be secured. 62 * Creates a new security connection criteria. 65 * Indicates whether or not the connection must be secured. 77 public boolean matches(ClientConnection connection) argument 79 return willMatchAfterBind(null, null, null, connection 87 willMatchAfterBind(ClientConnection connection, DN bindDN, AuthenticationType authType, boolean isSecure) argument [all...] |
/forgerock/opendj2-jel-hg/src/server/org/opends/server/core/networkgroups/ |
H A D | ConnectionCriteria.java | 40 * determine whether a client connection should be associated with a 47 * A connection criteria which does not match any connections. 56 public boolean matches(ClientConnection connection) 67 ClientConnection connection, DN bindDN, 76 * A connection criteria which matches all connections. 85 public boolean matches(ClientConnection connection) 96 ClientConnection connection, DN bindDN, 107 * Indicates whether or not the provided client connection matches 108 * this connection criteria. 110 * @param connection 115 matches(ClientConnection connection) argument 136 willMatchAfterBind(ClientConnection connection, DN bindDN, AuthenticationType authType, boolean isSecure) argument [all...] |
H A D | ResourceLimitsPolicy.java | 57 * Adds a connection to the network group. 59 * @param connection 60 * The client connection. 62 abstract void addConnection(ClientConnection connection); argument 110 * @param connection 120 * @return a boolean indicating whether the connection is allowed 122 abstract boolean isAllowed(ClientConnection connection, argument 129 * Removes a connection from the network group. 131 * @param connection 132 * The client connection t 134 removeConnection(ClientConnection connection) argument [all...] |
H A D | SecurityConnectionCriteria.java | 38 * A connection criteria which matches connections which are secured 45 * A connection criteria which does not require a secured connection. 51 * A connection criteria which requires a secured connection. 56 // Indicates whether or not the connection must be secured. 62 * Creates a new security connection criteria. 65 * Indicates whether or not the connection must be secured. 77 public boolean matches(ClientConnection connection) argument 79 return willMatchAfterBind(null, null, null, connection 87 willMatchAfterBind(ClientConnection connection, DN bindDN, AuthenticationType authType, boolean isSecure) argument [all...] |
/forgerock/opendj2-hg/src/server/org/opends/server/core/networkgroups/ |
H A D | ConnectionCriteria.java | 39 * determine whether a client connection should be associated with a 46 * A connection criteria which does not match any connections. 55 public boolean matches(ClientConnection connection) 66 ClientConnection connection, DN bindDN, 75 * A connection criteria which matches all connections. 84 public boolean matches(ClientConnection connection) 95 ClientConnection connection, DN bindDN, 106 * Indicates whether or not the provided client connection matches 107 * this connection criteria. 109 * @param connection 114 matches(ClientConnection connection) argument 135 willMatchAfterBind(ClientConnection connection, DN bindDN, AuthenticationType authType, boolean isSecure) argument [all...] |
/forgerock/openam-v13/openam-core/src/main/java/org/forgerock/openam/sm/datalayer/api/ |
H A D | TokenStorageAdapter.java | 26 * Adapts the token to some activity against the connection type, T. 27 * @param <T> The type of connection that token activity will be recorded using. 34 * @param connection The non null connection to perform this call against. 38 void create(T connection, Token token) throws DataLayerException; argument 41 * Performs a read against the database connection and converts the result into a Token. 43 * @param connection The non null connection to perform this call against. 47 Token read(T connection, String tokenId) throws DataLayerException; argument 52 * @param connection Th 58 update(T connection, Token previous, Token updated) argument 67 delete(T connection, String tokenId) argument 76 query(T connection, TokenFilter query) argument 85 partialQuery(T connection, TokenFilter query) argument [all...] |
/forgerock/opendj2/src/server/org/opends/server/admin/client/ldap/ |
H A D | LDAPManagementContext.java | 39 * An LDAP management connection context. 45 * connection. 47 * @param connection 48 * The LDAP connection. 51 public static ManagementContext createFromContext(LDAPConnection connection) { argument 52 Validator.ensureNotNull(connection); 53 return new LDAPManagementContext(connection, LDAPProfile.getInstance()); 62 private LDAPManagementContext(LDAPConnection connection, argument 64 this.driver = new LDAPDriver(this, connection, profile);
|
/forgerock/opendj-b2.6/src/server/org/opends/server/admin/client/ldap/ |
H A D | LDAPManagementContext.java | 40 * An LDAP management connection context. 46 * connection. 48 * @param connection 49 * The LDAP connection. 52 public static ManagementContext createFromContext(LDAPConnection connection) { argument 53 Validator.ensureNotNull(connection); 54 return new LDAPManagementContext(connection, LDAPProfile.getInstance()); 63 private LDAPManagementContext(LDAPConnection connection, argument 65 this.driver = new LDAPDriver(this, connection, profile);
|
/forgerock/opendj2.6.2/src/server/org/opends/server/admin/client/ldap/ |
H A D | LDAPManagementContext.java | 40 * An LDAP management connection context. 46 * connection. 48 * @param connection 49 * The LDAP connection. 52 public static ManagementContext createFromContext(LDAPConnection connection) { argument 53 Validator.ensureNotNull(connection); 54 return new LDAPManagementContext(connection, LDAPProfile.getInstance()); 63 private LDAPManagementContext(LDAPConnection connection, argument 65 this.driver = new LDAPDriver(this, connection, profile);
|
/forgerock/opendj2-hg/src/server/org/opends/server/admin/client/ldap/ |
H A D | LDAPManagementContext.java | 39 * An LDAP management connection context. 45 * connection. 47 * @param connection 48 * The LDAP connection. 51 public static ManagementContext createFromContext(LDAPConnection connection) { argument 52 Validator.ensureNotNull(connection); 53 return new LDAPManagementContext(connection, LDAPProfile.getInstance()); 62 private LDAPManagementContext(LDAPConnection connection, argument 64 this.driver = new LDAPDriver(this, connection, profile);
|
/forgerock/opendj2-jel-hg/src/server/org/opends/server/admin/client/ldap/ |
H A D | LDAPManagementContext.java | 40 * An LDAP management connection context. 46 * connection. 48 * @param connection 49 * The LDAP connection. 52 public static ManagementContext createFromContext(LDAPConnection connection) { argument 53 Validator.ensureNotNull(connection); 54 return new LDAPManagementContext(connection, LDAPProfile.getInstance()); 63 private LDAPManagementContext(LDAPConnection connection, argument 65 this.driver = new LDAPDriver(this, connection, profile);
|
/forgerock/openam/openam-samples/sts-example-code/ |
H A D | RestSTSInstancePublisher.java | 172 HttpURLConnection connection = (HttpURLConnection)new URL(publishEndpoint).openConnection(); 173 connection.setRequestMethod("GET"); 174 connection.setRequestProperty(COOKIE, getAdminSessionTokenCookie()); 175 connection.connect(); 176 return readInputStream(connection.getInputStream()); 181 HttpURLConnection connection = (HttpURLConnection)getPublishAddInstanceUri().openConnection(); 182 connection.setDoOutput(true); 183 connection.setRequestMethod("POST"); 184 connection.setRequestProperty(SharedSTSConstants.CONTENT_TYPE, SharedSTSConstants.APPLICATION_JSON); 185 connection 237 getSuccessMessage(HttpURLConnection connection) argument 241 getErrorMessage(HttpURLConnection connection) argument [all...] |
/forgerock/opendj-v3/opendj-server-legacy/src/test/java/org/forgerock/opendj/adapter/server3x/ |
H A D | AdaptersTestCase.java | 94 * Provides an anonymous connection factories. 96 * @return Anonymous connection factories. 110 * Provides root connection factories. 112 * @return Root connection factories. 136 // Creates a root connection to add data 137 final Connection connection = Adapters.newRootConnection(); 139 connection.add( 153 connection.add( 166 connection.add( 180 connection [all...] |
/forgerock/authenticator-android-v2/app/src/main/java/com/forgerock/authenticator/utils/ |
H A D | MessageUtils.java | 54 HttpURLConnection connection = null; 58 connection = (HttpURLConnection) url.openConnection(); 59 connection.setDoOutput(true); 60 connection.setDoInput(true); 61 connection.setRequestMethod("POST"); 62 connection.setRequestProperty("Content-Type", "application/json"); 63 connection.setRequestProperty("Accept-API-Version", "resource=1.0, protocol=1.0"); 65 connection.setRequestProperty("Cookie", amlbCookie); 67 connection.connect(); 73 OutputStream os = connection [all...] |