jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r752058 - /jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/security/simple/SimpleLoginModule.java
Date Tue, 10 Mar 2009 10:52:44 GMT
Author: angela
Date: Tue Mar 10 10:52:43 2009
New Revision: 752058

URL: http://svn.apache.org/viewvc?rev=752058&view=rev
Log:
javadoc

Modified:
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/security/simple/SimpleLoginModule.java

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/security/simple/SimpleLoginModule.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/security/simple/SimpleLoginModule.java?rev=752058&r1=752057&r2=752058&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/security/simple/SimpleLoginModule.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/security/simple/SimpleLoginModule.java
Tue Mar 10 10:52:43 2009
@@ -39,11 +39,17 @@
 
     private static Logger log = LoggerFactory.getLogger(SimpleLoginModule.class);
 
+    /**
+     * @see AbstractLoginModule#doInit(javax.security.auth.callback.CallbackHandler, javax.jcr.Session,
java.util.Map)
+     */
     protected void doInit(CallbackHandler callbackHandler, Session session, Map options)
throws LoginException {
         // nothing to do
         log.debug("init: SimpleLoginModule. Done.");
     }
 
+    /**
+     * @see AbstractLoginModule#impersonate(java.security.Principal, javax.jcr.Credentials)
+     */
     protected boolean impersonate(Principal principal, Credentials credentials) throws RepositoryException,
LoginException {
         if (principal instanceof Group) {
             return false;
@@ -52,6 +58,9 @@
         return impersSubject != null;
     }
 
+    /**
+     * @see AbstractLoginModule#getAuthentication(java.security.Principal, javax.jcr.Credentials)
+     */
     protected Authentication getAuthentication(Principal principal, Credentials creds) throws
RepositoryException {
         if (principal instanceof Group) {
             return null;
@@ -72,7 +81,7 @@
      * resolved by  {@link #getUserID(Credentials)}, assuming that
      * User-ID and the corresponding principal name are always identical.
      *
-     * @param credentials
+     * @param credentials Credentials for which the principal should be resolved.
      * @return principal or <code>null</code> if the principal provider does
      * not contain a user-principal with the given userID/principal name.
      *



Mime
View raw message