|
|||||
FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 2008 the original author or authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Field Summary | |
---|---|
def |
authenticateService
|
String |
authoritiesMethodName
|
String |
authorityFieldName
|
String |
enabledFieldName
|
Logger |
logger
|
String |
loginUserDomainClass
|
String |
passwordFieldName
|
String |
relationalAuthoritiesField
|
String |
usernameFieldName
|
Constructor Summary | |
GrailsDaoImpl()
|
Method Summary | |
---|---|
void |
assertNotEmpty(Collection authorities, String username)
|
def |
createRolesByAuthoritiesMethod(def user, String username)
|
def |
createRolesByRelationalAuthorities(def user, String username)
|
UserDetails |
createUserDetails(String username, String password, boolean enabled, def authorities, Object user)
Create the UserDetails instance. |
Logger |
getLog()
|
def |
loadAuthorities(def user, String username, boolean loadRoles)
|
def |
loadDomainUser(def username, def session)
|
UserDetails |
loadUserByUsername(String username)
|
UserDetails |
loadUserByUsername(String username, boolean loadRoles)
Load a user by username, optionally not loading roles. |
Constructor Detail |
---|
GrailsDaoImpl()
Method Detail |
---|
void assertNotEmpty(Collection authorities, String username)
def createRolesByAuthoritiesMethod(def user, String username)
def createRolesByRelationalAuthorities(def user, String username)
UserDetails createUserDetails(String username, String password, boolean enabled, def authorities, Object user)
true
if the user is enabled
Logger getLog()
def loadAuthorities(def user, String username, boolean loadRoles)
def loadDomainUser(def username, def session)
UserDetails loadUserByUsername(String username)
UserDetails loadUserByUsername(String username, boolean loadRoles)
true
load roles from the databaseUsernameNotFoundException