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

Commit 369d75e

Browse files
committed
Javadoc tweaks
1 parent 2c7ca1e commit 369d75e

2 files changed

Lines changed: 7 additions & 5 deletions

File tree

src/main/java/javax/security/enterprise/SecurityContext.java

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,10 @@ public interface SecurityContext {
7777
* <p>
7878
* This can be used to retrieve application-specific
7979
* Principals when the platform's representation of the caller uses a different principal type.
80+
* <p>
81+
* The returned Set is not backed by the Subject's internal Principal Set.
82+
* A new Set is created and returned for each method invocation.
83+
* Modifications to the returned Set will not affect the internal Principal Set.
8084
*
8185
* @param pType Class object representing the type of Principal to return.
8286
*
@@ -108,8 +112,7 @@ public interface SecurityContext {
108112

109113
/**
110114
* Checks whether the caller has access to the provided "web resource" using the GET HTTP method,
111-
* such as specified by section 13.8 of the Servlet specification, and the JACC specification,
112-
* specifically the {@link WebResourcePermission} type.
115+
* as specified by section 13.8 of the Servlet specification.
113116
*
114117
* <p>
115118
* A caller has access if the web resource is either not protected (constrained), or when it is protected by a role
@@ -125,8 +128,7 @@ public interface SecurityContext {
125128

126129
/**
127130
* Checks whether the caller has access to the provided "web resource" using the given methods,
128-
* such as specified by section 13.8 of the Servlet specification, and the JACC specification,
129-
* specifically the {@link WebResourcePermission} type.
131+
* as specified by section 13.8 of the Servlet specification.
130132
*
131133
* <p>
132134
* A caller has access if the web resource is either not protected (constrained), or when it is protected by a role

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
public @interface BasicAuthenticationMechanismDefinition {
5959

6060
/**
61-
* Name of realm that will be send via the <code>WWW-Authenticate</code> header.
61+
* Name of realm that will be sent via the <code>WWW-Authenticate</code> header.
6262
* <p>
6363
* Note that contrary to what happens in some proprietary Servlet products, this
6464
* realm name <b>does not</b> couple a named identity store configuration to the

0 commit comments

Comments
 (0)