git://wamblee.org
/
utils
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Removed DOCUMENT ME comments that were generated and applied source code
[utils]
/
security
/
src
/
main
/
java
/
org
/
wamblee
/
security
/
authorization
/
AuthorizationService.java
diff --git
a/security/src/main/java/org/wamblee/security/authorization/AuthorizationService.java
b/security/src/main/java/org/wamblee/security/authorization/AuthorizationService.java
index feb7053c11c125454af0d58c342b4a92b69d0d53..ab6a93c53c35a4ed826a10aaecb3eda5cb9f10a9 100644
(file)
--- a/
security/src/main/java/org/wamblee/security/authorization/AuthorizationService.java
+++ b/
security/src/main/java/org/wamblee/security/authorization/AuthorizationService.java
@@
-17,60
+17,56
@@
package org.wamblee.security.authorization;
import org.wamblee.persistence.Persistent;
import org.wamblee.persistence.Persistent;
-
/**
/**
- * Service to determine if access to a certain resource is allowed.
- *
+ * Service to determine if access to a certain resource is allowed.
+ *
* @author Erik Brakkee
*/
public interface AuthorizationService extends Persistent {
/**
* Checks whether an operation is allowed on a resource.
* @author Erik Brakkee
*/
public interface AuthorizationService extends Persistent {
/**
* Checks whether an operation is allowed on a resource.
- *
- * @param aResource Resource.
- * @param aOperation Operation.
- *
+ *
+ * @param aResource
+ * Resource.
+ * @param aOperation
+ * Operation.
+ *
* @return Checks whether the operation is allowed on a resource.
*/
boolean isAllowed(Object aResource, Operation aOperation);
* @return Checks whether the operation is allowed on a resource.
*/
boolean isAllowed(Object aResource, Operation aOperation);
- /**
- * DOCUMENT ME!
- *
- * @param <T> DOCUMENT ME!
- * @param aResource DOCUMENT ME!
- * @param aOperation DOCUMENT ME!
- *
- * @return DOCUMENT ME!
- */
<T> T check(T aResource, Operation aOperation);
/**
* Gets the authorization rules.
<T> T check(T aResource, Operation aOperation);
/**
* Gets the authorization rules.
- *
+ *
* @return Rules.
*/
AuthorizationRule[] getRules();
/**
* Appends a new authorization rule to the end.
* @return Rules.
*/
AuthorizationRule[] getRules();
/**
* Appends a new authorization rule to the end.
- *
- * @param aRule Rule to append.
+ *
+ * @param aRule
+ * Rule to append.
*/
void appendRule(AuthorizationRule aRule);
/**
* Removes a rule.
*/
void appendRule(AuthorizationRule aRule);
/**
* Removes a rule.
- *
- * @param aIndex Index of the rule to remove.
+ *
+ * @param aIndex
+ * Index of the rule to remove.
*/
void removeRule(int aIndex);
/**
* Inserts a rule.
*/
void removeRule(int aIndex);
/**
* Inserts a rule.
- *
- * @param aIndex Index of the position of the rule after insertion.
- * @param aRule Rule to insert.
+ *
+ * @param aIndex
+ * Index of the position of the rule after insertion.
+ * @param aRule
+ * Rule to insert.
*/
void insertRuleAfter(int aIndex, AuthorizationRule aRule);
}
*/
void insertRuleAfter(int aIndex, AuthorizationRule aRule);
}