| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor |
| license agreements. See the NOTICE file distributed with this work for additional |
| information regarding copyright ownership. The ASF licenses this file to |
| You 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. --> |
| <module> |
| |
| <package prefix="security" |
| value="org.apache.accumulo.testing.core.randomwalk.security" /> |
| |
| <fixture id="security.SecurityFixture" /> |
| |
| <init id="dummy.NoUserNoTable" maxHops="1000000" /> |
| |
| <node id="security.CreateUser"> |
| <edge id="alias.last" weight="1" /> |
| </node> |
| |
| <node id="CreateUserYesTable" src="security.CreateUser"> |
| <edge id="dummy.YesUserYesTable" weight="1" /> |
| </node> |
| |
| <node id="CreateUserNoTable" src="security.CreateUser"> |
| <edge id="dummy.YesUserNoTable" weight="1" /> |
| </node> |
| |
| <node id="security.DropUser"> |
| <edge id="alias.last" weight="1" /> |
| </node> |
| |
| <node id="DropUserNoTable" src="security.DropUser"> |
| <edge id="dummy.NoUserNoTable" weight="1" /> |
| </node> |
| |
| <node id="DropUserYesTable" src="security.DropUser"> |
| <edge id="dummy.NoUserYesTable" weight="1" /> |
| </node> |
| |
| <node id="security.CreateTable"> |
| <edge id="alias.last" weight="1" /> |
| </node> |
| |
| <node id="NoUserCreateTable" src="security.CreateTable"> |
| <edge id="dummy.NoUserYesTable" weight="1" /> |
| </node> |
| |
| <node id="YesUserCreateTable" src="security.CreateTable"> |
| <edge id="dummy.YesUserYesTable" weight="1" /> |
| </node> |
| |
| <node id="security.DropTable"> |
| <edge id="alias.last" weight="1" /> |
| </node> |
| |
| <node id="NoUserDropTable" src="security.DropTable"> |
| <edge id="dummy.NoUserNoTable" weight="1" /> |
| </node> |
| |
| <node id="YesUserDropTable" src="security.DropTable"> |
| <edge id="dummy.YesUserNoTable" weight="1" /> |
| </node> |
| |
| <node id="security.AlterTable"> |
| <edge id="alias.last" weight="1" /> |
| </node> |
| |
| <node id="RandomAuths" src="security.SetAuths"> |
| <property key="auths" value="_random" /> |
| <edge id="alias.last" weight="1" /> |
| </node> |
| |
| <node id="SystemChangeSystemPass" src="security.ChangePass"> |
| <property key="target" value="system" /> |
| <property key="source" value="system" /> |
| <edge id="alias.last" weight="1" /> |
| </node> |
| |
| <node id="SystemChangeTablePass" src="security.ChangePass"> |
| <property key="target" value="table" /> |
| <property key="source" value="system" /> |
| <edge id="alias.last" weight="1" /> |
| </node> |
| |
| <node id="TableChangeTablePass" src="security.ChangePass"> |
| <property key="target" value="table" /> |
| <property key="source" value="table" /> |
| <edge id="alias.last" weight="1" /> |
| </node> |
| |
| <node id="AuthenticateSystemRight" src="security.Authenticate"> |
| <property key="target" value="system" /> |
| <property key="valid" value="true" /> |
| <edge id="alias.last" weight="1" /> |
| </node> |
| |
| <node id="AuthenticateSystemWrong" src="security.Authenticate"> |
| <property key="target" value="system" /> |
| <property key="valid" value="false" /> |
| <edge id="alias.last" weight="1" /> |
| </node> |
| |
| <node id="AuthenticateTableRight" src="security.Authenticate"> |
| <property key="target" value="table" /> |
| <property key="valid" value="true" /> |
| <edge id="alias.last" weight="1" /> |
| </node> |
| |
| <node id="AuthenticateTableWrong" src="security.Authenticate"> |
| <property key="target" value="table" /> |
| <property key="valid" value="false" /> |
| <edge id="alias.last" weight="1" /> |
| </node> |
| |
| <node id="security.Validate"> |
| <edge id="alias.last" weight="1" /> |
| </node> |
| |
| <node id="security.AlterSystemPerm"> |
| <edge id="alias.last" weight="1" /> |
| </node> |
| |
| <node id="security.AlterTablePerm"> |
| <edge id="alias.last" weight="1" /> |
| </node> |
| |
| <node id="security.TableOp"> |
| <edge id="alias.last" weight="1" /> |
| </node> |
| |
| <node id="dummy.NoUserNoTable"> |
| <alias name="last" /> |
| <property key="print" value="DEBUG" /> |
| <edge id="CreateUserNoTable" weight="40" /> |
| <edge id="security.DropUser" weight="10" /> |
| <edge id="NoUserCreateTable" weight="40" /> |
| <edge id="security.DropTable" weight="10" /> |
| <edge id="security.AlterTable" weight="10" /> |
| <edge id="SystemChangeSystemPass" weight="60" /> |
| <edge id="SystemChangeTablePass" weight="10" /> |
| <edge id="AuthenticateSystemRight" weight="50" /> |
| <edge id="AuthenticateSystemWrong" weight="50" /> |
| <edge id="AuthenticateTableRight" weight="10" /> |
| <edge id="AuthenticateTableWrong" weight="10" /> |
| <edge id="security.Validate" weight="20" /> |
| <edge id="RandomAuths" weight="10" /> |
| <edge id="security.AlterSystemPerm" weight="60" /> |
| <edge id="security.AlterTablePerm" weight="10" /> |
| <edge id="END" weight="1" /> |
| </node> |
| |
| <node id="dummy.YesUserNoTable"> |
| <alias name="last" /> |
| <property key="print" value="DEBUG" /> |
| <edge id="security.CreateUser" weight="10" /> |
| <edge id="DropUserNoTable" weight="30" /> |
| <edge id="YesUserCreateTable" weight="40" /> |
| <edge id="security.DropTable" weight="10" /> |
| <edge id="security.AlterTable" weight="10" /> |
| <edge id="SystemChangeSystemPass" weight="60" /> |
| <edge id="SystemChangeTablePass" weight="60" /> |
| <edge id="TableChangeTablePass" weight="60" /> |
| <edge id="AuthenticateSystemRight" weight="50" /> |
| <edge id="AuthenticateSystemWrong" weight="50" /> |
| <edge id="AuthenticateTableRight" weight="50" /> |
| <edge id="AuthenticateTableWrong" weight="50" /> |
| <edge id="security.Validate" weight="20" /> |
| <edge id="RandomAuths" weight="60" /> |
| <edge id="security.AlterSystemPerm" weight="60" /> |
| <edge id="security.AlterTablePerm" weight="10" /> |
| <edge id="security.TableOp" weight="10" /> |
| <edge id="END" weight="1" /> |
| </node> |
| |
| <node id="dummy.NoUserYesTable"> |
| <alias name="last" /> |
| <property key="print" value="DEBUG" /> |
| <edge id="CreateUserYesTable" weight="40" /> |
| <edge id="security.DropUser" weight="10" /> |
| <edge id="security.CreateTable" weight="10" /> |
| <edge id="NoUserDropTable" weight="30" /> |
| <edge id="security.AlterTable" weight="60" /> |
| <edge id="SystemChangeSystemPass" weight="60" /> |
| <edge id="SystemChangeTablePass" weight="10" /> |
| <edge id="AuthenticateSystemRight" weight="50" /> |
| <edge id="AuthenticateSystemWrong" weight="50" /> |
| <edge id="AuthenticateTableRight" weight="10" /> |
| <edge id="AuthenticateTableWrong" weight="10" /> |
| <edge id="security.Validate" weight="20" /> |
| <edge id="RandomAuths" weight="10" /> |
| <edge id="security.AlterSystemPerm" weight="60" /> |
| <edge id="security.AlterTablePerm" weight="10" /> |
| <edge id="END" weight="1" /> |
| </node> |
| |
| <node id="dummy.YesUserYesTable"> |
| <alias name="last" /> |
| <property key="print" value="DEBUG" /> |
| <edge id="security.CreateUser" weight="10" /> |
| <edge id="DropUserYesTable" weight="30" /> |
| <edge id="security.CreateTable" weight="10" /> |
| <edge id="YesUserDropTable" weight="30" /> |
| <edge id="security.AlterTable" weight="60" /> |
| <edge id="SystemChangeSystemPass" weight="60" /> |
| <edge id="SystemChangeTablePass" weight="60" /> |
| <edge id="TableChangeTablePass" weight="60" /> |
| <edge id="AuthenticateSystemRight" weight="50" /> |
| <edge id="AuthenticateSystemWrong" weight="50" /> |
| <edge id="AuthenticateTableRight" weight="50" /> |
| <edge id="AuthenticateTableWrong" weight="50" /> |
| <edge id="security.Validate" weight="20" /> |
| <edge id="RandomAuths" weight="60" /> |
| <edge id="security.AlterSystemPerm" weight="60" /> |
| <edge id="security.AlterTablePerm" weight="60" /> |
| <edge id="security.TableOp" weight="120" /> |
| <edge id="END" weight="1" /> |
| </node> |
| |
| </module> |