2013-05-03 5 views
1

Global Security->JAAS -> Application Login 아래에 로그인 모듈을 정의했습니다. 그러나 내 서버와 배포 된 응용 프로그램에서 어떻게 알 수 있습니까?Websphere Application Server에서 JAAS가 작동하지 않습니다.

Validation failed: SECJ7724E: Error in the user registry configuration unable to verify access to the user registry. 
You must supply the primary administrative user name on the active registry or realm panels to enable security. 

답변

0

응용 프로그램이 IBM 애플리케이션-bnd.xml를 통해-정의 된 보안 역할의 인식된다 : 나는 Golobal 보안 -을 확인했을 때 플러스> 관리 보안 사용, 내가 말하는 오류가 발생했습니다. 여기

는 내에서 정의 된 사용자 정의 JDBC 레지스트리 (클라이언트 역할) 및 LDAP/AD (다른 역할을) 일치하는 역할을 결합하는 예입니다 WAS :

<?xml version="1.0" encoding="UTF-8"?> 
<application-bnd xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
       xmlns="http://websphere.ibm.com/xml/ns/javaee" 
       xsi:schemaLocation="http://websphere.ibm.com/xml/ns/javaee 
            http://websphere.ibm.com/xml/ns/javaee/ibm-application-bnd_1_0.xsd" 
       version="1.0"> 
    <security-role name="CLIENT"> 
     <group name="Clients" /> 
    </security-role> 
    <security-role name="STAFF"> 
     <group name="Contractors" access-id="CN=Contractors,OU=Some Unit,OU=Some Unit,o=StaffLDAP"/> 
     <group name="ContractorsNoVPN" access-id="CN=ContractorsNoVPN,OU=Some Unit,OU=Some Unit,o=StaffLDAP"/> 
     <group name="ContractorsVPN" access-id="CN=ContractorsVPN,OU=Some Unit,OU=Some Unit,o=StaffLDAP"/> 
    </security-role> 
    <security-role name="MANAGER"> 
     <group name="AssistantManagers" access-id="CN=AssistantManagers,OU=Some Unit,OU=Some Unit,OU=Some Unit,o=ManagersLDAP"/> 
     <group name="Managers" access-id="CN=Managers,OU=Some Unit,OU=Some Unit,OU=Some Unit,o=ManagersLDAP"/> 
     <group name="TestManagers"/> 
    </security-role> 
    <security-role name="ADMIN"> 
     <group name="Admin" access-id="group:someRealm/CN=Team,OU=Groups,OU=Divison,OU=Region,o=AdminsLDAP"/> 
    </security-role> 
</application-bnd>