Skip to main content

[identity-api-spec commits] [identity-api-spec~git:1c870775] javadoc edit ( added class description sentence)

  • From: monzillo@...
  • To: commits@...
  • Subject: [identity-api-spec commits] [identity-api-spec~git:1c870775] javadoc edit ( added class description sentence)
  • Date: Mon, 26 Aug 2013 20:32:42 +0000

Project:    identity-api-spec
Repository: git
Revision:   1c87077515f403d7bc012343578f326e9452953f
Author:     monzillo
Date:       2013-08-26 20:32:20 UTC
Link:       

Log Message:
------------
javadoc edit ( added class description sentence)

javadoc edit ( added class description sentence)
also added test constructor to output state of securitymanager


Revisions:
----------
a25d041bd90a6761e0b0f88a9d332e093c078eaf
1c87077515f403d7bc012343578f326e9452953f


Modified Paths:
---------------
IdentityApiGit/src/test/java/security/identity/RepositoryAgentForTesting.java
IdentityApiGit/src/test/java/security/identity/permission/TestAttributeRepositoryPermission.java


Diffs:
------
--- 
a/IdentityApiGit/src/test/java/security/identity/RepositoryAgentForTesting.java
+++ 
b/IdentityApiGit/src/test/java/security/identity/RepositoryAgentForTesting.java
@@ -21,6 +21,11 @@ import javax.security.identity.client.RepositoryDescriptor;
 import javax.security.identity.provider.AttributeRepository;
 import javax.security.identity.provider.RepositoryAgent;
 
+/**
+ *  RepositoryAgent implementation for use in testing.

+ * @author monzillo
+ */
 public class RepositoryAgentForTesting implements RepositoryAgent {
 
     private Map<String, AttributeRepository> repositoryMap = new 
HashMap<String, AttributeRepository>();

--- 
a/IdentityApiGit/src/test/java/security/identity/permission/TestAttributeRepositoryPermission.java
+++ 
b/IdentityApiGit/src/test/java/security/identity/permission/TestAttributeRepositoryPermission.java
@@ -25,8 +25,19 @@ import org.junit.Assert;
 import org.junit.Test;
 import security.identity.RepositoryAgentForTesting;
 
+/**
+ * Functional test (integrated in build) to verify implementation of 
+ * {@link javax.security.identity.permission.AttributeRepositoryPermission} 
+ * 
+ * @author monzillo
+ */
 public class TestAttributeRepositoryPermission {
 
+    public TestAttributeRepositoryPermission() {
+        SecurityManager sm = System.getSecurityManager();
+        System.out.println(sm == null ? "No Security Manager" : "Security 
Manager is enabled");
+    }
+
     @Test
     @SuppressWarnings("unchecked")
     public void TestMixedActions() {





[identity-api-spec commits] [identity-api-spec~git:1c870775] javadoc edit ( added class description sentence)

monzillo 08/26/2013
 
 
Close
loading
Please Confirm
Close