Skip to content
This repository was archived by the owner on May 11, 2018. It is now read-only.

Commit cf8d7bd

Browse files
authored
Merge pull request #45 from javaee-security-spec/wmhopkins-pfd
Javadoc tweaks
2 parents 36c7c4c + aa2b3da commit cf8d7bd

File tree

3 files changed

+12
-13
lines changed

3 files changed

+12
-13
lines changed

src/main/java/javax/security/enterprise/authentication/mechanism/http/BasicAuthenticationMechanismDefinition.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,8 @@
6060
/**
6161
* Name of realm that will be sent via the <code>WWW-Authenticate</code> header.
6262
* <p>
63-
* Note that contrary to what happens in some proprietary Servlet products, this
64-
* realm name <b>does not</b> couple a named identity store configuration to the
65-
* authentication mechanism.
63+
* Note that this realm name <b>does not</b> couple a named identity store
64+
* configuration to the authentication mechanism.
6665
*
6766
* @return Name of realm
6867
*/

src/main/java/javax/security/enterprise/identitystore/LdapIdentityStoreDefinition.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ enum LdapSearchScope { ONE_LEVEL, SUBTREE }
7676
* @return URL where the LDAP server can be reached
7777
*/
7878
String url() default "";
79-
79+
8080
/**
8181
* Distinguished name for the application or administrative user that will be used to
8282
* make the initial connection to the LDAP and to perform searches and lookups.
@@ -99,7 +99,7 @@ enum LdapSearchScope { ONE_LEVEL, SUBTREE }
9999
* @return password for the application user.
100100
*/
101101
String bindDnPassword() default "";
102-
102+
103103
/**
104104
* Base distinguished name for callers in the LDAP store
105105
* (e.g., "<code>ou=caller,dc=jsr375,dc=net</code>").
@@ -199,7 +199,7 @@ enum LdapSearchScope { ONE_LEVEL, SUBTREE }
199199
* @return Search expression to find groups.
200200
*/
201201
String groupSearchFilter() default "";
202-
202+
203203
/**
204204
* Search scope for group searches, determines depth
205205
* of the search in the LDAP tree.

src/main/java/javax/security/enterprise/package-info.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@
4848
*
4949
* <h3>...Definition annotations</h3>
5050
*
51-
* The Java EE Security API features several annotations ending on <code>Definition</code> which when used make CDI
52-
* beans available. For completeness, this concerns the following annotations:
51+
* The Java EE Security API features several annotations, with names that end with <code>Definition</code>,
52+
* which, when used, make CDI beans available. For completeness, this concerns the following annotations:
5353
*
5454
* <ul>
5555
* <li>{@link javax.security.enterprise.identitystore.DatabaseIdentityStoreDefinition}</li>
@@ -59,8 +59,8 @@
5959
* <li>{@link javax.security.enterprise.authentication.mechanism.http.FormAuthenticationMechanismDefinition}</li>
6060
* </ul>
6161
*
62-
* For all attributes of type <code>String</code> on these annotations expression language 3.0 expressions can be used.
63-
* All named CDI beans are available to that expression as well as the default classes as specified by EL 3.0 for the
62+
* For all attributes of type <code>String</code> on these annotations, Expression Language 3.0 expressions can be used.
63+
* All named CDI beans are available to that expression, as well as the default classes as specified by EL 3.0 for the
6464
* {@link ELProcessor}.
6565
*
6666
* <p>
@@ -71,9 +71,9 @@
7171
*
7272
* <p>
7373
* Attributes that are documented as being EL alternatives to non-<code>String</code> type
74-
* attributes (attributes of which the name ends on <code>Expression</code>, hereafter called EL alternative attribute)
75-
* MUST evaluate to the same type as the attribute they are an alternative to. If the EL alternative attribute has a
76-
* non empty value, it takes precedence over the attribute which it is an alternative to.
74+
* attributes (attributes for which the name ends with <code>Expression</code>, hereafter called EL alternative attribute)
75+
* MUST evaluate to the same type as the attribute they are an alternative to. If the EL alternative attribute has a
76+
* non empty value, it takes precedence over the attribute which it is an alternative to.
7777
*
7878
* <p>
7979
* The EL alternative attribute MUST contain a valid EL expression. Attributes of type string that are not EL alternative

0 commit comments

Comments
 (0)