MySQL Error Number 1005 Can’t create table
16More
MySQL Error Number 1005 Can't create table '.mydb#sql-328_45.frm' (errno: 150) | VerySi... - 0 views
- ...12 more annotations...
-
One of the key field that you are trying to reference does not have an index and/or is not a primary key
-
Make sure that the Charset and Collate options are the same both at the table level as well as individual field level for the key columns
-
You have a syntax error in your ALTER statement or you have mistyped one of the field names in the relationship
-
max length of 64 chars
30More
Authorization | Apache Shiro - 0 views
-
use the PermissionResolver to convert the string into a Permission instance, and perform the check that way
- ...26 more annotations...
-
delegates to the application's SecurityManager by calling the securityManager's nearly identical respective hasRole*, checkRole*, isPermitted*, or checkPermission* method variants
-
relays/delegates to its internal org.apache.shiro.authz.Authorizer instance by calling the authorizer's respective hasRole*, checkRole*, isPermitted*, or checkPermission* method
-
Implicit Roles:
-
key difference with a RolePermissionResolver however is that the input String is a role name, and not a permission string.
-
RolePermissionResolver has the ability to represent Permission instances needed by a Realm to perform permission checks.
-
globalRolePermissionResolver = com.foo.bar.authz.MyPermissionResolver ... securityManager.authorizer.rolePermissionResolver = $globalRolePermissionResolver
6More
AllPermission (Apache Shiro 1.2.1 API) - 0 views
-
always implies any other permission
- ...2 more annotations...
11More
WildcardPermission (Apache Shiro 1.2.1 API) - 0 views
- ...7 more annotations...
-
current instance must be exactly equal to or a superset of the functionalty and/or resource access described by the given Permission argument
5More
shared by kuni katsuya on 23 Sep 12
- No Cached
RolePermissionResolver (Apache Shiro 1.2.1 API) - 0 views
shiro.apache.org/...RolePermissionResolver.html
security ApacheShiro authorization RolePermissionResolver

54More
Architecture | Apache Shiro - 0 views
- ...51 more annotations...
-
When you interact with a Subject, those interactions translate to subject-specific interactions with the SecurityManager
-
'umbrella’ object that coordinates its internal security components that together form an object graph
-
Shiro has the ability to natively manage user Sessions in any environment, even if there is no Web/Servlet or EJB container available
17More
Testing | Apache Shiro - 0 views
- ...14 more annotations...
-
and that Subject instances are always bound to a thread to ensure we know who is executing logic at any time during the thread's execution
8More
shared by kuni katsuya on 22 Sep 12
- No Cached
Java EE Revisits Design Patterns: Asynchronous - Java Code Geeks - 0 views
www.javacodegeeks.com/...-revisits-design-patterns.html
javaee6 DesignPatterns Asynchronous @Asynchronous

1More
Java EE Revisits Design Patterns: Observer - Java Code Geeks - 0 views
1More
Java EE 6 Pocket Guide: InformIT: Safari Books Online - 0 views
Developing with Eclipse and Maven / Documentation Sonatype.com - 0 views
74More
Permissions | Apache Shiro - 0 views
- ...69 more annotations...
-
Wildcard Permissions support the concept of multiple levels or parts. For example, you could restructure the previous simple example by granting a user the permission printer:query
-
Multiple Values Each part can contain multiple values. So instead of granting the user both the "printer:print" and "printer:query" permissions, you could simply grant them one: printer:print,query
-
All Values What if you wanted to grant a user all values in a particular part? It would be more convenient to do this than to have to manually list every value. Again, based on the wildcard character, we can do this. If the printer domain had 3 possible actions (query, print, and manage), this: printer:query,print,manage
-
Using the wildcard in this way scales better than explicitly listing actions since, if you added a new action to the application later, you don't need to update the permissions that use the wildcard character in that part.
-
Finally, it is also possible to use the wildcard token in any part of a wildcard permission string. For example, if you wanted to grant a user the "view" action across all domains (not just printers), you could grant this: *:view Then any permission check for "foo:view" would return true
-
printer:*:lp7200
-
domain
-
as the number of permissions assigned to a user or their roles or groups increase, the time to perform the check will necessarily increase
13More
Shiro User - Shiro in CDI/JPA2/JSF2 project - 1 views
- ...10 more annotations...
-
Instead of configuring the ShiroFilter in my web.xml I had the IniShiroFilter configured. The IniShiroFilter creates a new SecurityManager from the ini file. This new SecurityManager didn't know about the realm I've added in my EnvironmentLoader, so it didn't have any realms.
-
I replaced it with the ShiroFilter in my web.xml and all seems to be working now with my CdiEnvironmentLoaderListener.
7More
shared by kuni katsuya on 29 Aug 12
- No Cached
How to get EntityManager in a Apache Shiro Realm | OpenShift by Red Hat - 0 views
openshift.redhat.com/...anager-in-a-apache-shiro-realm
ApacheShiro EntityManager Realm PersistenceContext

-
managed-bean from CDI BeanManager and then @PersistenceContext give me a EntityManager in this managed-bean
- ...4 more annotations...
3More
shared by kuni katsuya on 22 Sep 12
- No Cached
java - Getting confused with Apache Shiro and Custom Authorizing Realms - Stack Overflow - 0 views
stackoverflow.com/...-and-custom-authorizing-realms
security ApacheShiro realm RealmSecurityManager SecurityManager authorization AuthorizationInfo

15More
shared by kuni katsuya on 21 Sep 12
- No Cached
Forgot Password Cheat Sheet - OWASP - 0 views
www.owasp.org/...Forgot_Password_Cheat_Sheet
security authentication password ForgotPassword PasswordReset

- ...12 more annotations...
-
If anything is incorrect, or if the username is not recognized, the second page displays a generic error message such as “Sorry, invalid data”. If all submitted data is correct, Step 2 should display at least two of the user’s pre-established personal security questions, along with input fields for the answers.
30More
Authentication Cheat Sheet - OWASP - 0 views
- ...26 more annotations...
-
can produce a result that locks out entire blocks of application users accounts
1More
Agile Software Development: Don't Forget EVIL User Stories - OWASP - 0 views
23More
SQL Injection Prevention Cheat Sheet - OWASP - 0 views
- ...19 more annotations...
-
b) prevent user supplied input which contains malicious SQL from affecting the logic of the executed query
-
Enforce: Least Privilege
View AllMost Active Members
View AllTop 10 Tags
- 160java
- 159javaee6
- 113security
- 100graniteds
- 86CDI
- 85JPA
- 68documentation
- 67Flex
- 62agile
- 61ApacheShiro
- 52jbossas7
- 50database
- 47configuration
- 45BestPractices
- 44jboss
- 44tutorial
- 43authorization
- 38jira
- 38maven
- 37testing