diff --git a/src/main/java/javax/security/enterprise/authentication/mechanism/http/BasicAuthenticationMechanismDefinition.java b/src/main/java/javax/security/enterprise/authentication/mechanism/http/BasicAuthenticationMechanismDefinition.java index da15a63..c9324ea 100644 --- a/src/main/java/javax/security/enterprise/authentication/mechanism/http/BasicAuthenticationMechanismDefinition.java +++ b/src/main/java/javax/security/enterprise/authentication/mechanism/http/BasicAuthenticationMechanismDefinition.java @@ -60,9 +60,8 @@ /** * Name of realm that will be sent via the WWW-Authenticate header. *

- * Note that contrary to what happens in some proprietary Servlet products, this - * realm name does not couple a named identity store configuration to the - * authentication mechanism. + * Note that this realm name does not couple a named identity store + * configuration to the authentication mechanism. * * @return Name of realm */ diff --git a/src/main/java/javax/security/enterprise/identitystore/LdapIdentityStoreDefinition.java b/src/main/java/javax/security/enterprise/identitystore/LdapIdentityStoreDefinition.java index a9b8468..9533dc7 100644 --- a/src/main/java/javax/security/enterprise/identitystore/LdapIdentityStoreDefinition.java +++ b/src/main/java/javax/security/enterprise/identitystore/LdapIdentityStoreDefinition.java @@ -76,7 +76,7 @@ enum LdapSearchScope { ONE_LEVEL, SUBTREE } * @return URL where the LDAP server can be reached */ String url() default ""; - + /** * Distinguished name for the application or administrative user that will be used to * make the initial connection to the LDAP and to perform searches and lookups. @@ -99,7 +99,7 @@ enum LdapSearchScope { ONE_LEVEL, SUBTREE } * @return password for the application user. */ String bindDnPassword() default ""; - + /** * Base distinguished name for callers in the LDAP store * (e.g., "ou=caller,dc=jsr375,dc=net"). @@ -199,7 +199,7 @@ enum LdapSearchScope { ONE_LEVEL, SUBTREE } * @return Search expression to find groups. */ String groupSearchFilter() default ""; - + /** * Search scope for group searches, determines depth * of the search in the LDAP tree. diff --git a/src/main/java/javax/security/enterprise/package-info.java b/src/main/java/javax/security/enterprise/package-info.java index e4b81a3..784085c 100644 --- a/src/main/java/javax/security/enterprise/package-info.java +++ b/src/main/java/javax/security/enterprise/package-info.java @@ -48,8 +48,8 @@ * *

...Definition annotations

* - * The Java EE Security API features several annotations ending on Definition which when used make CDI - * beans available. For completeness, this concerns the following annotations: + * The Java EE Security API features several annotations, with names that end with Definition, + * which, when used, make CDI beans available. For completeness, this concerns the following annotations: * * * - * For all attributes of type String on these annotations expression language 3.0 expressions can be used. - * All named CDI beans are available to that expression as well as the default classes as specified by EL 3.0 for the + * For all attributes of type String on these annotations, Expression Language 3.0 expressions can be used. + * All named CDI beans are available to that expression, as well as the default classes as specified by EL 3.0 for the * {@link ELProcessor}. * *

@@ -71,9 +71,9 @@ * *

* Attributes that are documented as being EL alternatives to non-String type - * attributes (attributes of which the name ends on Expression, hereafter called EL alternative attribute) - * MUST evaluate to the same type as the attribute they are an alternative to. If the EL alternative attribute has a - * non empty value, it takes precedence over the attribute which it is an alternative to. + * attributes (attributes for which the name ends with Expression, hereafter called EL alternative attribute) + * MUST evaluate to the same type as the attribute they are an alternative to. If the EL alternative attribute has a + * non empty value, it takes precedence over the attribute which it is an alternative to. * *

* The EL alternative attribute MUST contain a valid EL expression. Attributes of type string that are not EL alternative