Searched refs:encoding (Results 1 - 25 of 184) sorted by relevance

12345678

/forgerock/openam-v13/openam-core/src/main/java/org/forgerock/openam/cts/api/tokens/
H A DTokenIdFactory.java31 private final KeyConversion encoding; field in class:TokenIdFactory
35 public TokenIdFactory(KeyConversion encoding) { argument
36 this.encoding = encoding;
44 return encoding.encodeKey(requestId);
54 return encoding.decodeKey(primaryId);
62 return encoding.encodeKey(secondaryKey);
72 return encoding.decodeKey(secondaryId);
92 return encoding.encryptKey(sessionID);
/forgerock/openam/openam-core/src/main/java/org/forgerock/openam/cts/api/tokens/
H A DTokenIdFactory.java31 private final KeyConversion encoding; field in class:TokenIdFactory
35 public TokenIdFactory(KeyConversion encoding) { argument
36 this.encoding = encoding;
44 return encoding.encodeKey(requestId);
54 return encoding.decodeKey(primaryId);
62 return encoding.encodeKey(secondaryKey);
72 return encoding.decodeKey(secondaryId);
92 return encoding.encryptKey(sessionID);
/forgerock/opendj-b2.6/src/server/org/opends/server/tools/
H A DLDAPToolOptions.java43 private String encoding = System.getProperty("file.encoding"); field in class:LDAPToolOptions
145 * Set the encoding.
147 * @param encodingStr The encoding to use for string values.
151 this.encoding = encodingStr;
155 * Return the encoding value.
157 * @return The encoding to use for string values.
161 return encoding;
/forgerock/opendj2/src/server/org/opends/server/tools/
H A DLDAPToolOptions.java42 private String encoding = System.getProperty("file.encoding"); field in class:LDAPToolOptions
144 * Set the encoding.
146 * @param encodingStr The encoding to use for string values.
150 this.encoding = encodingStr;
154 * Return the encoding value.
156 * @return The encoding to use for string values.
160 return encoding;
/forgerock/opendj2.6.2/src/server/org/opends/server/tools/
H A DLDAPToolOptions.java43 private String encoding = System.getProperty("file.encoding"); field in class:LDAPToolOptions
145 * Set the encoding.
147 * @param encodingStr The encoding to use for string values.
151 this.encoding = encodingStr;
155 * Return the encoding value.
157 * @return The encoding to use for string values.
161 return encoding;
/forgerock/opendj2-jel-hg/src/server/org/opends/server/tools/
H A DLDAPToolOptions.java43 private String encoding = System.getProperty("file.encoding"); field in class:LDAPToolOptions
145 * Set the encoding.
147 * @param encodingStr The encoding to use for string values.
151 this.encoding = encodingStr;
155 * Return the encoding value.
157 * @return The encoding to use for string values.
161 return encoding;
/forgerock/opendj2-hg/src/server/org/opends/server/tools/
H A DLDAPToolOptions.java42 private String encoding = System.getProperty("file.encoding"); field in class:LDAPToolOptions
144 * Set the encoding.
146 * @param encodingStr The encoding to use for string values.
150 this.encoding = encodingStr;
154 * Return the encoding value.
156 * @return The encoding to use for string values.
160 return encoding;
/forgerock/opendj-v3/opendj-server-legacy/src/main/java/org/opends/server/tools/
H A DLDAPToolOptions.java43 private String encoding = System.getProperty("file.encoding"); field in class:LDAPToolOptions
145 * Set the encoding.
147 * @param encodingStr The encoding to use for string values.
151 this.encoding = encodingStr;
155 * Return the encoding value.
157 * @return The encoding to use for string values.
161 return encoding;
/forgerock/jee-agents-v3.5/jee-agents-sdk/src/main/java/com/sun/identity/agents/filter/
H A DWebServiceRequestInputStream.java38 public WebServiceRequestInputStream(String body, String encoding) argument
40 setInputStream(new ByteArrayInputStream(body.getBytes(encoding)));
/forgerock/openam-v13/openam-core/src/test/java/org/forgerock/openam/cts/adapters/
H A DSAMLAdapterTest.java45 private KeyConversion encoding; field in class:SAMLAdapterTest
52 encoding = new KeyConversion();
63 new TokenIdFactory(encoding),
67 String tokenId = encoding.encodeKey("badger");
81 String secondaryKey = encoding.encodeKey("weasel");
/forgerock/openam/openam-core/src/test/java/org/forgerock/openam/cts/adapters/
H A DSAMLAdapterTest.java46 private KeyConversion encoding; field in class:SAMLAdapterTest
53 encoding = new KeyConversion();
64 new TokenIdFactory(encoding),
68 String tokenId = encoding.encodeKey("badger");
82 String secondaryKey = encoding.encodeKey("weasel");
/forgerock/openam-v13/openam-schema/openam-diagnostics-schema/src/main/java/com/sun/identity/diagnostic/base/core/jaxbgen/impl/runtime/
H A DMarshallerImpl.java185 protected CharacterEscapeHandler createEscapeHandler( String encoding ) {
190 if( encoding.startsWith("UTF") )
195 // otherwise try to find one from the encoding
198 return new NioEscapeHandler( getJavaEncoding(encoding) );
205 public XMLWriter createWriter( Writer w, String encoding ) throws JAXBException {
210 CharacterEscapeHandler ceh = createEscapeHandler(encoding);
214 DataWriter d = new DataWriter(w,encoding,ceh);
219 xw = new XMLWriter(w,encoding,ceh);
234 public XMLWriter createWriter( OutputStream os, String encoding ) throws JAXBException {
237 new OutputStreamWriter(os,getJavaEncoding(encoding)),
[all...]
/forgerock/openam-v13/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/federation/jaxb/entityconfig/impl/runtime/
H A DMarshallerImpl.java185 protected CharacterEscapeHandler createEscapeHandler( String encoding ) {
190 if( encoding.startsWith("UTF") )
195 // otherwise try to find one from the encoding
198 return new NioEscapeHandler( getJavaEncoding(encoding) );
205 public XMLWriter createWriter( Writer w, String encoding ) throws JAXBException {
210 CharacterEscapeHandler ceh = createEscapeHandler(encoding);
214 DataWriter d = new DataWriter(w,encoding,ceh);
219 xw = new XMLWriter(w,encoding,ceh);
234 public XMLWriter createWriter( OutputStream os, String encoding ) throws JAXBException {
237 new OutputStreamWriter(os,getJavaEncoding(encoding)),
[all...]
/forgerock/openam-v13/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/assertion/impl/runtime/
H A DMarshallerImpl.java185 protected CharacterEscapeHandler createEscapeHandler( String encoding ) {
190 if( encoding.startsWith("UTF") )
195 // otherwise try to find one from the encoding
198 return new NioEscapeHandler( getJavaEncoding(encoding) );
205 public XMLWriter createWriter( Writer w, String encoding ) throws JAXBException {
210 CharacterEscapeHandler ceh = createEscapeHandler(encoding);
214 DataWriter d = new DataWriter(w,encoding,ceh);
219 xw = new XMLWriter(w,encoding,ceh);
234 public XMLWriter createWriter( OutputStream os, String encoding ) throws JAXBException {
237 new OutputStreamWriter(os,getJavaEncoding(encoding)),
[all...]
/forgerock/openam-v13/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/entityconfig/impl/runtime/
H A DMarshallerImpl.java185 protected CharacterEscapeHandler createEscapeHandler( String encoding ) {
190 if( encoding.startsWith("UTF") )
195 // otherwise try to find one from the encoding
198 return new NioEscapeHandler( getJavaEncoding(encoding) );
205 public XMLWriter createWriter( Writer w, String encoding ) throws JAXBException {
210 CharacterEscapeHandler ceh = createEscapeHandler(encoding);
214 DataWriter d = new DataWriter(w,encoding,ceh);
219 xw = new XMLWriter(w,encoding,ceh);
234 public XMLWriter createWriter( OutputStream os, String encoding ) throws JAXBException {
237 new OutputStreamWriter(os,getJavaEncoding(encoding)),
[all...]
/forgerock/openam/openam-schema/openam-liberty-schema/src/main/java/com/sun/identity/federation/jaxb/entityconfig/impl/runtime/
H A DMarshallerImpl.java185 protected CharacterEscapeHandler createEscapeHandler( String encoding ) {
190 if( encoding.startsWith("UTF") )
195 // otherwise try to find one from the encoding
198 return new NioEscapeHandler( getJavaEncoding(encoding) );
205 public XMLWriter createWriter( Writer w, String encoding ) throws JAXBException {
210 CharacterEscapeHandler ceh = createEscapeHandler(encoding);
214 DataWriter d = new DataWriter(w,encoding,ceh);
219 xw = new XMLWriter(w,encoding,ceh);
234 public XMLWriter createWriter( OutputStream os, String encoding ) throws JAXBException {
237 new OutputStreamWriter(os,getJavaEncoding(encoding)),
[all...]
/forgerock/openam/openam-schema/openam-saml2-schema/src/main/java/com/sun/identity/saml2/jaxb/assertion/impl/runtime/
H A DMarshallerImpl.java185 protected CharacterEscapeHandler createEscapeHandler( String encoding ) {
190 if( encoding.startsWith("UTF") )
195 // otherwise try to find one from the encoding
198 return new NioEscapeHandler( getJavaEncoding(encoding) );
205 public XMLWriter createWriter( Writer w, String encoding ) throws JAXBException {
210 CharacterEscapeHandler ceh = createEscapeHandler(encoding);
214 DataWriter d = new DataWriter(w,encoding,ceh);
219 xw = new XMLWriter(w,encoding,ceh);
234 public XMLWriter createWriter( OutputStream os, String encoding ) throws JAXBException {
237 new OutputStreamWriter(os,getJavaEncoding(encoding)),
[all...]
/forgerock/openam/openam-schema/openam-wsfederation-schema/src/main/java/com/sun/identity/wsfederation/jaxb/entityconfig/impl/runtime/
H A DMarshallerImpl.java185 protected CharacterEscapeHandler createEscapeHandler( String encoding ) {
190 if( encoding.startsWith("UTF") )
195 // otherwise try to find one from the encoding
198 return new NioEscapeHandler( getJavaEncoding(encoding) );
205 public XMLWriter createWriter( Writer w, String encoding ) throws JAXBException {
210 CharacterEscapeHandler ceh = createEscapeHandler(encoding);
214 DataWriter d = new DataWriter(w,encoding,ceh);
219 xw = new XMLWriter(w,encoding,ceh);
234 public XMLWriter createWriter( OutputStream os, String encoding ) throws JAXBException {
237 new OutputStreamWriter(os,getJavaEncoding(encoding)),
[all...]
/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/setup/
H A DSetupProgress.java48 static private String encoding = System.getProperty("file.encoding"); field in class:SetupProgress
96 writer.write(URLEncoder.encode(text, encoding));
119 String text = new String(b, encoding);
128 String text = new String(b, off, len, encoding);
/forgerock/openam-v13/openam-upgrade/src/main/java/org/forgerock/openam/upgrade/
H A DUpgradeProgress.java47 static private String encoding = System.getProperty("file.encoding"); field in class:UpgradeProgress
104 encoding));
125 writer.write(new String(b, encoding).replace("\n", "\\\n").replace("\"", "\\\""));
132 writer.write(new String(b, off, len, encoding).replace("\n", "\\\n").replace("\"", "\\\""));
/forgerock/openam/openam-core/src/main/java/com/sun/identity/setup/
H A DSetupProgress.java54 static private String encoding = System.getProperty("file.encoding"); field in class:SetupProgress
102 writer.write(URLEncoder.encode(text, encoding));
125 String text = new String(b, encoding);
134 String text = new String(b, off, len, encoding);
/forgerock/openam/openam-upgrade/src/main/java/org/forgerock/openam/upgrade/
H A DUpgradeProgress.java47 static private String encoding = System.getProperty("file.encoding"); field in class:UpgradeProgress
104 encoding));
125 writer.write(new String(b, encoding).replace("\n", "\\\n").replace("\"", "\\\""));
132 writer.write(new String(b, off, len, encoding).replace("\n", "\\\n").replace("\"", "\\\""));
/forgerock/openam-v13/openam-shared/src/main/java/org/forgerock/openam/utils/
H A DIOUtils.java69 * String format using the given encoding.
72 * @param encoding encoding of the file
78 public static String getFileContent(String path, String encoding) throws IOException { argument
85 return readStream(new FileInputStream(file), encoding);
89 * Reads a files content from the classpath using UTF-8 encoding.
102 * Reads a files content from the classpath using the given encoding.
106 * @param encoding encoding of the file
111 public static String getFileContentFromClassPath(Class classInSameModule, String path, String encoding) argument
141 readStream(InputStream is, String encoding) argument
[all...]
/forgerock/openam/openam-shared/src/main/java/org/forgerock/openam/utils/
H A DIOUtils.java69 * String format using the given encoding.
72 * @param encoding encoding of the file
78 public static String getFileContent(String path, String encoding) throws IOException { argument
85 return readStream(new FileInputStream(file), encoding);
89 * Reads a files content from the classpath using UTF-8 encoding.
102 * Reads a files content from the classpath using the given encoding.
106 * @param encoding encoding of the file
111 public static String getFileContentFromClassPath(Class classInSameModule, String path, String encoding) argument
141 readStream(InputStream is, String encoding) argument
[all...]
/forgerock/opendj-b2.6/src/server/org/opends/server/loggers/
H A DMultifileTextWriter.java83 private String encoding; field in class:MultifileTextWriter
114 * @param encoding the encoding to use to write the log files.
126 String encoding,
133 constructWriter(file, filePermissions, encoding, append,
142 this.encoding = UTF8_ENCODING;
159 * @param encoding - the encoding to use when writing log records.
170 String encoding, boolean append,
183 OutputStreamWriter osw = new OutputStreamWriter(outputStream, encoding);
122 MultifileTextWriter(String name, long interval, FileNamingPolicy namingPolicy, FilePermission filePermissions, LogPublisherErrorHandler errorHandler, String encoding, boolean autoFlush, boolean append, int bufferSize) argument
169 constructWriter(File file, FilePermission filePermissions, String encoding, boolean append, int bufferSize) argument
[all...]

Completed in 947 milliseconds

12345678