Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 51892200CD1 for ; Tue, 20 Jun 2017 18:19:44 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 50949160BFE; Tue, 20 Jun 2017 16:19:44 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id BFBD0160C01 for ; Tue, 20 Jun 2017 18:19:41 +0200 (CEST) Received: (qmail 67582 invoked by uid 500); 20 Jun 2017 16:19:40 -0000 Mailing-List: contact commits-help@jspwiki.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jspwiki.apache.org Delivered-To: mailing list commits@jspwiki.apache.org Received: (qmail 67189 invoked by uid 99); 20 Jun 2017 16:19:40 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Jun 2017 16:19:40 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 3A6C3E382F; Tue, 20 Jun 2017 16:19:39 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: juanpablo@apache.org To: commits@jspwiki.apache.org Date: Tue, 20 Jun 2017 16:19:54 -0000 Message-Id: In-Reply-To: <14ae8e698c93460fb84035fc8f60e577@git.apache.org> References: <14ae8e698c93460fb84035fc8f60e577@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [17/51] [partial] jspwiki-site git commit: Manual testing of new & upcoming ci.sh / mvn-ci.sh on jbake branch archived-at: Tue, 20 Jun 2017 16:19:44 -0000 http://git-wip-us.apache.org/repos/asf/jspwiki-site/blob/04f45623/apidocs/2.10.1/org/apache/wiki/auth/GroupPrincipal.html ---------------------------------------------------------------------- diff --git a/apidocs/2.10.1/org/apache/wiki/auth/GroupPrincipal.html b/apidocs/2.10.1/org/apache/wiki/auth/GroupPrincipal.html new file mode 100755 index 0000000..bfd7e93 --- /dev/null +++ b/apidocs/2.10.1/org/apache/wiki/auth/GroupPrincipal.html @@ -0,0 +1,362 @@ + + + + + + + +GroupPrincipal (Apache JSPWiki Main War 2.10.1 API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.wiki.auth +
+Class GroupPrincipal

+
+java.lang.Object
+  extended by org.apache.wiki.auth.GroupPrincipal
+
+
+
All Implemented Interfaces:
Principal
+
+
+
+
public final class GroupPrincipal
extends Object
implements Principal
+ + + + + + +
+ +

+Immutable Principal that represents a Group. GroupPrincipals are injected + into a Subject's principal list at the time of authentication (login), and + serve as proxies for Group objects for the purposes of making Java 2 security + policy decisions. We add GroupPrincipals instead of the actual Groups because + calling classes should never be able to obtain a mutable object (Group + memberships can be changed by callers). Administrators who wish to grant + privileges to specific wiki groups via the security policy file should always specify + principals of type GroupPrincipal. +

+ +

+

+
Since:
+
2.3.79
+
See Also:
Group
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
GroupPrincipal(String group) + +
+          Constructs a new GroupPrincipal object with a supplied name.
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ booleanequals(Object obj) + +
+          Two GroupPrincipals are equal if their names are equal.
+ StringgetName() + +
+          Returns the name of the group principal.
+ inthashCode() + +
+          Returns the hashcode for this object.
+ StringtoString() + +
+          Returns a string representation of this object.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+GroupPrincipal

+
+public GroupPrincipal(String group)
+
+
Constructs a new GroupPrincipal object with a supplied name. +

+

+
Parameters:
group - the wiki group; cannot be null
+
+ + + + + + + + +
+Method Detail
+ +

+getName

+
+public String getName()
+
+
Returns the name of the group principal. +

+

+
Specified by:
getName in interface Principal
+
+
+ +
Returns:
the name
See Also:
Principal.getName()
+
+
+
+ +

+equals

+
+public boolean equals(Object obj)
+
+
Two GroupPrincipals are equal if their names are equal. +

+

+
Specified by:
equals in interface Principal
Overrides:
equals in class Object
+
+
+
Parameters:
obj - the object to compare +
Returns:
the result of the equality test
See Also:
Object.equals(java.lang.Object)
+
+
+
+ +

+hashCode

+
+public int hashCode()
+
+
Returns the hashcode for this object. +

+

+
Specified by:
hashCode in interface Principal
Overrides:
hashCode in class Object
+
+
+ +
Returns:
the hash code
See Also:
Object.hashCode()
+
+
+
+ +

+toString

+
+public String toString()
+
+
Returns a string representation of this object. +

+

+
Specified by:
toString in interface Principal
Overrides:
toString in class Object
+
+
+ +
Returns:
the string
See Also:
Object.toString()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © {inceptionYear}-2014 The Apache Software Foundation. All rights reserved. + + http://git-wip-us.apache.org/repos/asf/jspwiki-site/blob/04f45623/apidocs/2.10.1/org/apache/wiki/auth/GroupPrincipal.png ---------------------------------------------------------------------- diff --git a/apidocs/2.10.1/org/apache/wiki/auth/GroupPrincipal.png b/apidocs/2.10.1/org/apache/wiki/auth/GroupPrincipal.png new file mode 100755 index 0000000..2867886 Binary files /dev/null and b/apidocs/2.10.1/org/apache/wiki/auth/GroupPrincipal.png differ http://git-wip-us.apache.org/repos/asf/jspwiki-site/blob/04f45623/apidocs/2.10.1/org/apache/wiki/auth/NoSuchPrincipalException.html ---------------------------------------------------------------------- diff --git a/apidocs/2.10.1/org/apache/wiki/auth/NoSuchPrincipalException.html b/apidocs/2.10.1/org/apache/wiki/auth/NoSuchPrincipalException.html new file mode 100755 index 0000000..50f058c --- /dev/null +++ b/apidocs/2.10.1/org/apache/wiki/auth/NoSuchPrincipalException.html @@ -0,0 +1,258 @@ + + + + + + + +NoSuchPrincipalException (Apache JSPWiki Main War 2.10.1 API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.wiki.auth +
+Class NoSuchPrincipalException

+
+java.lang.Object
+  extended by java.lang.Throwable
+      extended by java.lang.Exception
+          extended by org.apache.wiki.api.exceptions.WikiException
+              extended by org.apache.wiki.auth.WikiSecurityException
+                  extended by org.apache.wiki.auth.NoSuchPrincipalException
+
+
+
All Implemented Interfaces:
Serializable
+
+
+
+
public final class NoSuchPrincipalException
extends WikiSecurityException
+ + + + + +
+ +

+Thrown in some error situations where a WikiPrincipal object does not exist. +

+ +

+

+
Since:
+
2.3
+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
NoSuchPrincipalException(String msg) + +
+          Constructs a new exception object with a supplied message.
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+NoSuchPrincipalException

+
+public NoSuchPrincipalException(String msg)
+
+
Constructs a new exception object with a supplied message. +

+

+
Parameters:
msg - the message
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © {inceptionYear}-2014 The Apache Software Foundation. All rights reserved. + + http://git-wip-us.apache.org/repos/asf/jspwiki-site/blob/04f45623/apidocs/2.10.1/org/apache/wiki/auth/NoSuchPrincipalException.png ---------------------------------------------------------------------- diff --git a/apidocs/2.10.1/org/apache/wiki/auth/NoSuchPrincipalException.png b/apidocs/2.10.1/org/apache/wiki/auth/NoSuchPrincipalException.png new file mode 100755 index 0000000..172d062 Binary files /dev/null and b/apidocs/2.10.1/org/apache/wiki/auth/NoSuchPrincipalException.png differ http://git-wip-us.apache.org/repos/asf/jspwiki-site/blob/04f45623/apidocs/2.10.1/org/apache/wiki/auth/PrincipalComparator.html ---------------------------------------------------------------------- diff --git a/apidocs/2.10.1/org/apache/wiki/auth/PrincipalComparator.html b/apidocs/2.10.1/org/apache/wiki/auth/PrincipalComparator.html new file mode 100755 index 0000000..531ee12 --- /dev/null +++ b/apidocs/2.10.1/org/apache/wiki/auth/PrincipalComparator.html @@ -0,0 +1,288 @@ + + + + + + + +PrincipalComparator (Apache JSPWiki Main War 2.10.1 API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.wiki.auth +
+Class PrincipalComparator

+
+java.lang.Object
+  extended by org.apache.wiki.auth.PrincipalComparator
+
+
+
All Implemented Interfaces:
Serializable, Comparator<Principal>
+
+
+
+
public class PrincipalComparator
extends Object
implements Comparator<Principal>, Serializable
+ + + + + + +
+ +

+Comparator class for sorting objects of type Principal. + Used for sorting arrays or collections of Principals. +

+ +

+

+
Since:
+
2.3
+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
PrincipalComparator() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ intcompare(Principal o1, + Principal o2) + +
+          Compares two Principal objects.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+ + + + + + + +
Methods inherited from interface java.util.Comparator
equals
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+PrincipalComparator

+
+public PrincipalComparator()
+
+
+ + + + + + + + +
+Method Detail
+ +

+compare

+
+public int compare(Principal o1,
+                   Principal o2)
+
+
Compares two Principal objects. +

+

+
Specified by:
compare in interface Comparator<Principal>
+
+
+
Parameters:
o1 - the first Principal
o2 - the second Principal +
Returns:
the result of the comparison
See Also:
Comparator.compare(Object, Object)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © {inceptionYear}-2014 The Apache Software Foundation. All rights reserved. + + http://git-wip-us.apache.org/repos/asf/jspwiki-site/blob/04f45623/apidocs/2.10.1/org/apache/wiki/auth/PrincipalComparator.png ---------------------------------------------------------------------- diff --git a/apidocs/2.10.1/org/apache/wiki/auth/PrincipalComparator.png b/apidocs/2.10.1/org/apache/wiki/auth/PrincipalComparator.png new file mode 100755 index 0000000..110134f Binary files /dev/null and b/apidocs/2.10.1/org/apache/wiki/auth/PrincipalComparator.png differ