Skip to content

Commit

Permalink
fix: javadocs are now consistent with code, issue #4120 is now fixed.
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Salas authored and Daniel Salas committed Jan 30, 2025
1 parent c342a05 commit a1f0969
Show file tree
Hide file tree
Showing 16 changed files with 20 additions and 28 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
* The endpoint at which the host registers permissions that it anticipates a
* requester will shortly be asking for from the AM. This AM's endpoint is part
* of resource registration API.
* <p/>
* <p>
* In response to receiving an access request accompanied by an RPT that is
* invalid or has insufficient authorization data, the host SHOULD register a
* permission with the AS that would be sufficient for the type of access
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@
/**
* Export private key from JKS Command example: java -cp
* KeyExporter -h
* <p/>
* <p>
* KeyExporter -keystore /Users/yuriy/tmp/mykeystore.jks -keypasswd secret
* -alias "2d4817e7-5fe8-4b6b-8f64-fe3723625122"
* -exportfile=/Users/yuriy/tmp/mykey.pem
* <p/>
* <p>
*
* @author Yuriy Movchan
* @version February 12, 2019
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@
/**
* Command example:
* java -cp bcprov-jdk15on-1.54.jar:.jar:bcpkix-jdk15on-1.54.jar:commons-cli-1.2.jar:commons-codec-1.5.jar:commons-lang-2.6.jar:jettison-1.3.jar:log4j-1.2.14.jar:oxauth-model.jar:oxauth.jar KeyGenerator -h
* <p/>
* <p>
* KeyGenerator -sig_keys RS256 RS384 RS512 ES256 ES256K ES384 ES512 PS256 PS384 PS512 EdDSA -enc_keys RSA1_5 RSA-OAEP RSA-OAEP-256 ECDH-ES ECDH-ES+A128KW ECDH-ES+A192KW ECDH-ES+A256KW -keystore /Users/JAVIER/tmp/mykeystore.jks -keypasswd secret -dnname "CN=Jans Auth CA Certificates" -expiration 365
* <p/>
* <p>
* Note that EdDSA is not allowed in FIPS mode
*
* @author Javier Rojas Blum
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ public void updateConfiguration(GluuConfiguration configuration) {
*
* @param inum Configuration Inum
* @return Configuration
* @throws Exception
*/
public GluuConfiguration getConfigurationByInum(String inum) {
return persistenceEntryManager.find(GluuConfiguration.class, getDnForConfiguration(inum));
Expand All @@ -72,7 +71,6 @@ public GluuConfiguration getConfigurationByInum(String inum) {
* Get configuration
*
* @return Configuration
* @throws Exception
*/
public GluuConfiguration getConfiguration() {
String configurationDn = staticConfiguration.getBaseDn().getConfiguration();
Expand All @@ -88,7 +86,6 @@ public GluuConfiguration getConfiguration() {
*
* @param inum Inum
* @return DN string for specified configuration or DN for configurations branch if inum is null
* @throws Exception
*/
public String getDnForConfiguration(String inum) {
String baseDn = staticConfiguration.getBaseDn().getConfiguration();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@
* struct {
* TokenBindingType tokenbinding_type;
* TokenBindingID tokenbindingid;
* opaque signature<64..2^16-1>; Signature over the concatenation
* opaque signature&lt;64..2^16-1&gt;; Signature over the concatenation
* of tokenbinding_type,
* key_parameters and exported
* keying material (EKM)
* TB_Extension extensions<0..2^16-1>;
* TB_Extension extensions&lt;0..2^16-1&gt;;
* } TokenBinding;
*
* @author Yuriy Zabrovarnyy
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
/**
* struct {
* TB_ExtensionType extension_type;
* opaque extension_data<0..2^16-1>;
* opaque extension_data&lt;0..2^16-1&gt;;
* } TB_Extension;
*
* @author Yuriy Zabrovarnyy
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
/**
* <pre>
* struct {
* TokenBinding tokenbindings<132..2^16-1>;
* TokenBinding tokenbindings&lt;132..2^16-1&gt;;
* } TokenBindingMessage;
* </pre>
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,11 +123,7 @@ public EDDSAKeyFactory(final SignatureAlgorithm signatureAlgorithm, final String
* @param expirationDate
* @param dnName
* @return
* @throws CertificateEncodingException
* @throws InvalidKeyException
* @throws IllegalStateException
* @throws NoSuchProviderException
* @throws NoSuchAlgorithmException
* @throws SignatureException
*/
public Certificate generateV3Certificate(final Date startDate, final Date expirationDate, final String dnName) throws SignatureException {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public class EDDSAPublicKey extends PublicKey {
* Constructor
*
* @param signatureAlgorithm
* @param publicKeyData
* @param xEncoded
*/
public EDDSAPublicKey(final SignatureAlgorithm signatureAlgorithm, byte[] xEncoded) {
setSignatureAlgorithm(signatureAlgorithm);
Expand Down
2 changes: 1 addition & 1 deletion jans-auth-server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<failOnError>false</failOnError>
<!-- <failOnError>false</failOnError> -->
</configuration>
</plugin>
<plugin>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ public interface AuthorizeRestWebService {
* If the state parameter was present in the client authorization
* request. The exact value received from the client.</dd>
* </dl>
* <p/>
* <p>
* <p>
* When the responseType parameter is set to <strong>token</strong>:
* </p>
Expand Down Expand Up @@ -245,7 +245,7 @@ Response requestAuthorizationGet(
* If the state parameter was present in the client authorization
* request. The exact value received from the client.</dd>
* </dl>
* <p/>
* <p>
* <p>
* When the responseType parameter is set to <strong>token</strong>:
* </p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ public SectorIdentifier getSectorIdentifierById(String jsId) {
*
* @param jsId Sector Identifier jsId
* @return DN string for specified sector identifier or DN for sector identifiers branch if jsId is null
* @throws Exception
*/
public String getDnForSectorIdentifier(String jsId) {
String sectorIdentifierDn = staticConfiguration.getBaseDn().getSectorIdentifiers();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public class SsaRestWebServiceImpl implements SsaRestWebService {
* Creates an SSA from the requested parameters.
* <p>
* Method calls the action where the SSA creation logic is implemented.
* <p/>
* <p>
*
* @param requestParams Valid json
* @param httpRequest Http request object
Expand All @@ -57,7 +57,7 @@ public Response create(String requestParams, HttpServletRequest httpRequest) {
* Get existing active SSA based on "jti" or "org_id".
* <p>
* Method calls the action where the SSA get logic is implemented.
* <p/>
* <p>
*
* @param jti Unique identifier
* @param orgId Organization ID
Expand All @@ -73,7 +73,7 @@ public Response get(String jti, String orgId, HttpServletRequest httpRequest) {
* Validate existing active SSA based on "jti".
* <p>
* Method calls the action where the SSA validate logic is implemented.
* <p/>
* <p>
*
* @param jti Unique identifier
* @return {@link Response} with status {@code 200} (Ok) if SSA has been validated.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ public Ssa getValidSsaByJti(String jti) {
* </p>
*
* @param createRequest SSA Metadata
* @throws WebApplicationException with status {@code 400 (Bad Request)} with <b>invalid_ssa_metadata<b/> key, when lifetime is invalid
* @throws WebApplicationException with status {@code 400 (Bad Request)} with <b>invalid_ssa_metadata</b> key, when lifetime is invalid
*/
public void validateSsaCreateRequest(SsaCreateRequest createRequest) {
if (createRequest.getLifetime() != null && createRequest.getLifetime() < 1) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,15 +87,15 @@ public class SsaCreateAction {
* request has to have at least scope "ssa.admin",
* it will also return a {@link WebApplicationException} with status {@code 500} in case an uncontrolled
* error occurs when processing the method.
* <p/>
* <p>
* <p>
* Response of this method can be modified using the following custom script
* <a href="https://github.com/JanssenProject/jans/blob/main/jans-linux-setup/jans_setup/static/extension/ssa_modify_response/ssa_modify_response.py">SSA Custom Script</a>,
* method create.
* </p>
* <p>
* SSA returned by this method is stored in the corresponding database, so it can be later retrieved, validated or revoked.
* <p/>
* <p>
*
* @param requestParams Valid json request
* @param httpRequest Http request
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
* The API available at the resource registration endpoint enables the resource server to put resources under
* the protection of an authorization server on behalf of the resource owner and manage them over time.
* Protection of a resource at the authorization server begins on successful registration and ends on successful deregistration.
* <p/>
* <p>
* The resource server uses a RESTful API at the authorization server's resource registration endpoint
* to create, read, update, and delete resource descriptions, along with retrieving lists of such descriptions.
* The descriptions consist of JSON documents that are maintained as web resources at the authorization server.
Expand Down

0 comments on commit a1f0969

Please sign in to comment.