diff options
Diffstat (limited to 'gnu/javax/security')
9 files changed, 28 insertions, 28 deletions
diff --git a/gnu/javax/security/auth/callback/AWTCallbackHandler.java b/gnu/javax/security/auth/callback/AWTCallbackHandler.java index d75ce4104..f241157ee 100644 --- a/gnu/javax/security/auth/callback/AWTCallbackHandler.java +++ b/gnu/javax/security/auth/callback/AWTCallbackHandler.java @@ -1,4 +1,4 @@ -/* AWTCallbackHandler.java -- +/* AWTCallbackHandler.java -- Copyright (C) 2004, 2006 Free Software Foundation, Inc. This file is a part of GNU Classpath. diff --git a/gnu/javax/security/auth/callback/AbstractCallbackHandler.java b/gnu/javax/security/auth/callback/AbstractCallbackHandler.java index 5144f58ea..31a7f5aca 100644 --- a/gnu/javax/security/auth/callback/AbstractCallbackHandler.java +++ b/gnu/javax/security/auth/callback/AbstractCallbackHandler.java @@ -1,4 +1,4 @@ -/* AbstractCallbackHandler.java -- +/* AbstractCallbackHandler.java -- Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is a part of GNU Classpath. @@ -86,7 +86,7 @@ public abstract class AbstractCallbackHandler implements CallbackHandler /** * Create an instance of <code>CallbackHandler</code> of the designated * <code>type</code> from the first Security Provider which offers it. - * + * * @param type the type of callback handler to create. * @return a newly created instance of <code>ClassbackHandler</code>. * @throws NoSuchAlgorithmException if no security provider is found to offer @@ -115,7 +115,7 @@ public abstract class AbstractCallbackHandler implements CallbackHandler /** * Create an instance of <code>CallbackHandler</code> of the designated * <code>type</code> from the named security <code>provider</code>. - * + * * @param type the type of callback handler to create. * @param provider a named security provider to use. * @return a newly created instance of <code>ClassbackHandler</code>. @@ -140,7 +140,7 @@ public abstract class AbstractCallbackHandler implements CallbackHandler /** * Create an instance of <code>CallbackHandler</code> of the designated * <code>type</code> from the designated security <code>provider</code>. - * + * * @param type the type of callback handler to create. * @param provider a security provider to use. * @return a newly created instance of <code>ClassbackHandler</code>. diff --git a/gnu/javax/security/auth/callback/CertificateCallback.java b/gnu/javax/security/auth/callback/CertificateCallback.java index fcec11962..74885ed21 100644 --- a/gnu/javax/security/auth/callback/CertificateCallback.java +++ b/gnu/javax/security/auth/callback/CertificateCallback.java @@ -1,4 +1,4 @@ -/* CertificateCallback.java -- +/* CertificateCallback.java -- Copyright (C) 2006 Free Software Foundation, Inc. This file is a part of GNU Classpath. @@ -55,7 +55,7 @@ public class CertificateCallback extends ConfirmationCallback { static final long serialVersionUID = 8343869651419225634L; public final Certificate certificate; - + public CertificateCallback(Certificate cert, String prompt) { super(prompt, ERROR, YES_NO_OPTION, NO); diff --git a/gnu/javax/security/auth/callback/ConsoleCallbackHandler.java b/gnu/javax/security/auth/callback/ConsoleCallbackHandler.java index d4bd9ed26..4c24ab808 100644 --- a/gnu/javax/security/auth/callback/ConsoleCallbackHandler.java +++ b/gnu/javax/security/auth/callback/ConsoleCallbackHandler.java @@ -1,4 +1,4 @@ -/* ConsoleCallbackHandler.java -- +/* ConsoleCallbackHandler.java -- Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is a part of GNU Classpath. diff --git a/gnu/javax/security/auth/callback/DefaultCallbackHandler.java b/gnu/javax/security/auth/callback/DefaultCallbackHandler.java index fc48782fe..df0360b2e 100644 --- a/gnu/javax/security/auth/callback/DefaultCallbackHandler.java +++ b/gnu/javax/security/auth/callback/DefaultCallbackHandler.java @@ -1,4 +1,4 @@ -/* DefaultCallbackHandler.java -- +/* DefaultCallbackHandler.java -- Copyright (C) 2004, 2006 Free Software Foundation, Inc. This file is a part of GNU Classpath. diff --git a/gnu/javax/security/auth/callback/SwingCallbackHandler.java b/gnu/javax/security/auth/callback/SwingCallbackHandler.java index 8e3e46eff..c9d5b3eb5 100644 --- a/gnu/javax/security/auth/callback/SwingCallbackHandler.java +++ b/gnu/javax/security/auth/callback/SwingCallbackHandler.java @@ -1,4 +1,4 @@ - /* SwingCallbackHandler.java -- + /* SwingCallbackHandler.java -- Copyright (C) 2006 Free Software Foundation, Inc. This file is a part of GNU Classpath. @@ -455,7 +455,7 @@ public class SwingCallbackHandler extends AbstractCallbackHandler GridBagConstraints.NORTHWEST, GridBagConstraints.NONE, new Insets (10, 10, 15, 5), 0, 0)); - + final JTextArea text = new JTextArea (24, 80); text.setEditable (true); String _text; @@ -584,4 +584,4 @@ public class SwingCallbackHandler extends AbstractCallbackHandler } dialog.dispose (); } -}
\ No newline at end of file +} diff --git a/gnu/javax/security/auth/login/ConfigFileParser.java b/gnu/javax/security/auth/login/ConfigFileParser.java index 40adb783e..5c4c4261f 100644 --- a/gnu/javax/security/auth/login/ConfigFileParser.java +++ b/gnu/javax/security/auth/login/ConfigFileParser.java @@ -81,7 +81,7 @@ import javax.security.auth.login.AppConfigurationEntry; * * <p>In the above context, a JAVA_IDENTIFIER is a sequence of tokens, * separated by the character '.'. Each of these tokens obeys the following:</p> - * + * * <ol> * <li>its first character yields <code>true</code> when used as an input to * the {@link java.lang.Character#isJavaIdentifierStart(char)}, and</li> @@ -183,7 +183,7 @@ public final class ConfigFileParser /** * @return <code>true</code> if a LOGIN_MODULE_ENTRY was correctly parsed. - * Returns <code>false</code> otherwise. + * Returns <code>false</code> otherwise. * @throws IOException if an exception occurs while parsing the input. */ private boolean parseACE(List listOfACEs) throws IOException @@ -278,7 +278,7 @@ public final class ConfigFileParser // we dont check the rest of the characters for isJavaIdentifierPart() // because that's what the tokenizer does. } - + return cn; } diff --git a/gnu/javax/security/auth/login/ConfigFileTokenizer.java b/gnu/javax/security/auth/login/ConfigFileTokenizer.java index 0235c6971..fc35bf772 100644 --- a/gnu/javax/security/auth/login/ConfigFileTokenizer.java +++ b/gnu/javax/security/auth/login/ConfigFileTokenizer.java @@ -52,7 +52,7 @@ import java.util.logging.Logger; * the deault syntax. This class emulates, to a certain extent, the behavior of * a {@link java.io.StreamTokenizer} instance <code>st</code>, when set as * follows: - * + * * <pre> * st.resetSyntax(); * st.lowerCaseMode(false); @@ -77,7 +77,7 @@ import java.util.logging.Logger; * <p>The most important (negative) difference with a * {@link java.io.StreamTokenizer} is that this tokenizer does not properly * handle C++ and Java // style comments in the middle of the line. It only - * ignores them if/when found at the start of the line.</p> + * ignores them if/when found at the start of the line.</p> */ public class ConfigFileTokenizer { diff --git a/gnu/javax/security/auth/login/GnuConfiguration.java b/gnu/javax/security/auth/login/GnuConfiguration.java index 8cd61c954..20d8f3afd 100644 --- a/gnu/javax/security/auth/login/GnuConfiguration.java +++ b/gnu/javax/security/auth/login/GnuConfiguration.java @@ -61,7 +61,7 @@ import javax.security.auth.login.Configuration; * Login Configuration files written in the <i>default</i> syntax described in * the publicly available documentation of that class. A more formal definition * of this syntax is as follows: - * + * * <pre> * CONFIG ::= APP_OR_OTHER_ENTRY+ * APP_OR_OTHER_ENTRY ::= APP_NAME_OR_OTHER JAAS_CONFIG_BLOCK @@ -80,12 +80,12 @@ import javax.security.auth.login.Configuration; * PARAM_NAME ::= STRING * PARAM_VALUE ::= '"' STRING '"' | ''' STRING ''' | STRING * </pre> - * + * * <p>This implementation will specifically attempt to process one or more * Login Configuration files in the following locations, and when found parse * them and merge their contents. The locations, and the order in which they are * investigated, follows:</p> - * + * * <ol> * <li>If the following Security properties: * <i>java.security.auth.login.config.url.<b>N</b></i>, where <i><b>N</b></i> @@ -99,7 +99,7 @@ import javax.security.auth.login.Configuration; * <li>The GNU Classpath security file, named <i>classpath.security</i>, * where all Security properties are encoded, is usually located in * <i>/usr/local/classpath/lib/security</i> folder.</li> - * + * * <li>The numbers used in the properties * <i>java.security.auth.login.config.url.<b>N</b></i> MUST be sequential, * with no breaks in-between.</li> @@ -120,7 +120,7 @@ import javax.security.auth.login.Configuration; * (in that order) is found in the location referenced by the value of the * System property <i>user.home</i>, then that file is parsed as a JAAS Login * Configuration written in the default syntax.</li> - * + * * <li>If none of the above resulted in a correctly parsed JAAS Login * Configuration file, then this implementation will install a <i>Null * Configuration</i> which basically does not recognize any Application.</li> @@ -182,11 +182,11 @@ public final class GnuConfiguration extends Configuration /** * Refreshes and reloads this <code>Configuration</code>. - * + * * <p>This method causes this <code>Configuration</code> object to refresh / * reload its contents following the locations and logic described above in * the class documentation section.</p> - * + * * @throws SecurityException if the caller does not have an * {@link AuthPermission} for the action named * <code>refreshLoginConfiguration</code>. @@ -237,7 +237,7 @@ public final class GnuConfiguration extends Configuration * Attempts to locate and parse one or more JAAS Login Configuration files * defined as the values of the Security properties * <i>java.security.auth.login.config.url.N</i>. - * + * * @return <code>true</code> if it succeeds, and <code>false</code> * otherwsie. */ @@ -279,7 +279,7 @@ public final class GnuConfiguration extends Configuration * {@link MalformedURLException} occurs, this method then tries to open that * string as a {@link File} (with the same name). If it succeeds, an * {@link InputStream} is constructed and returned. - * + * * @param s * the designated name of either a {@link URL} or a {@link File} * assumed to contain a JAAS Login Configuration in the default @@ -308,7 +308,7 @@ public final class GnuConfiguration extends Configuration /** * Attempts to locate and parse a JAAS Login Configuration file defined as the * value of the System property <i>java.security.auth.login.config</i>. - * + * * @return <code>true</code> if it succeeds, and <code>false</code> * otherwsie. */ @@ -343,7 +343,7 @@ public final class GnuConfiguration extends Configuration * as <i>.java.login.config</i> or <i>java.login.config</i> (without the * leading dot) in the folder referenced by the System property * <code>user.home</code>. - * + * * @return <code>true</code> if it succeeds, and <code>false</code> * otherwsie. */ |